...
...
...
...
...
...
...
...
Activities
StateMachine
This activity is one of the three activities that can be used as root activity in a workflow (can be dragged onto a blank workflow). This activity contains a collection of states and models workflows using the familiar state machine paradigm.
Activity Parameters
The StateMachine activity has no parameters except the DisplayName:
Our example is a workflow that is entirely a state machine (the root activity is a StateMachine with the DisplayName "Shutdown").
State
A State represents a state in which a state machine can be in.
Activity Parameters
The State activity has no parameters that can be set by manually inserted values or via IN arguments or variables, but it has 3 properties that are only managed via the workflow designer area:
...
- Entry: Specifies the action that occurs when this state is transitioned to. When the State activity is expanded, this value can be set by dragging an activity from the Activity LIbrary and dropping it onto the Entry section of the state.
- Exit: Specifies the action that occurs when this state is transitioned away from. When the State activity is expanded, this value can be set by dragging an activity from the Activity Library and dropping it onto the Exit section of the state.
- Transition(s): Lists the possible transitions that originate from the State. Each item in the list has a link to the associated Transition and the destination State. Clicking the link will switch the designer to an expanded view of the Transition or State.
A transition is similar to a connection in a Flowchart, and they are set in a similar matter (drag and drop from de initial state box to the destination state). Selecting the transition (connection) in the workflow designer area will allow the user to set the Condition in the Properties pane on the right side of the window.
...
FinalState
This activity is used to create a State that terminates a state machine instance.
Activity Parameters
The FinalState activity has no parameters that can be set by manually inserted values or via IN arguments or variables, but it has one property that is only managed via the workflow designer area. Unlike State, the FinalState activity does not require the Exit and Transition(s) properties:
...
- Entry: Specifies the action that occurs when this state is transitioned to. This value can be set by dragging an activity from the Activity Library and dropping it onto the Entry section of the state.
...