Skip to content

Behaviors

mikolaj-milewski edited this page Sep 18, 2024 · 10 revisions

Core concept of Stateflows framework is Behavior: piece of executable logic which is addressable, has its own persistent state and can be interacted with by Events sent to it and received from it.

Stateflows provides two types of Behaviors:

  1. State Machine (designed to manage processes),
  2. Activity (more suited for data processing).

Definition of Behavior (f.e. State Machine structure) is called Behavior Class.

For each Behavior Class there can be multiple addressable entities called Behavior Instances, distinguished by string-based Instance ID.

Clone this wiki locally