Skip to content

State Machine Actions

These actions let you interact with other FSMs at runtime - reading and writing variables, sending events, checking state, and running FSM templates dynamically.

Communication

Send events or get/set variables on other FSMs:

Send FSM Event

Send an event to another FSM.

Get FSM Variable

Read the value of a variable in another FSM.

Set FSM Variable

Set the value of a variable in another FSM.

Set Variable Value

Set a variable in the current FSM.

Coordination

Coordinate with other FSMs:

Run Template

Run an FSM Template with inputs.

Check FSM State

Test if an FSM is currently in a specific state.

FSM State Switch

Branch based on the current state a target FSM.

Goto State

Transition directly to another state.

Finish State

Finish the current state immediately.

Regions

Enable, disable, or restart Regions in the current FSM:

Enable Region

Enable a Region, with control over whether it resumes or restarts.

Disable Region

Disable a Region, with control over whether it suspends or exits.

Set Region Enabled

Enable or disable a Region from a Bool value.

Watchers

Watch FSM or variable changes and respond with events.

On FSM State Changed

Send an event when a target FSM changes state.

On Variable Value Changed

Send an event when a variable value changes.

Reset

Reset variable values to initial defaults.

Reset Variable Value

Reset one variable.

Reset All Variables

Reset all variables in the current FSM.