Change state
Instructs a parent State machine action which state it should run when the current state has finished.
This action can be used within the action State Machine only.
To prevent repeated loops through states in a state machine, ensure that each state branch in the state machine has this action. If a workflow completes a state branch without running this action, then the workflow loops through that state again, possibly indefinitely.
Note: The Change State action must be the last action within a state. Adding actions below the Change State action may cause unexpected behavior.
If the state named in this action does not exist in the state machine, then the following workflow error occurs: "Selected value '[name]' is not recognized as a known state value."
Action Settings
Field |
Description |
---|---|
Next state |
The state to run when the current state has finished. Selecting End State Machine exits the state machine when the current state has finished. Note: The state change does not occur until the current state has finished. If a state branch contains multiple Change State actions, then only the last one takes effect. |