AnyTransition
- Updated2026-04-22
- 1 minute(s) read
AnyTransitions always have a target state to which the AnyTransitions lead. AnyTransitions never have an initial state from which the AnyTransitions lead away.
The condition for executing an AnyTransition is always checked before the current state. If the condition is met, the activities associated with the AnyTransition are executed. Then, the state machine immediately changes to the target state of the AnyTransition.
Important PAgraph executes the
Exit part of the state that is active before the condition
for the AnyTransition is valid.
Related Information
- State Machine with AnyTransitions
AnyTransitions are always checked at the start of a cycle before the code of the current state is executed. The code of the exit part of a state is executed before switching to the AnyTransition.