🚀 Welcome to MDriven Learn –  Don’t miss the latest Release Notes.
OCLOperators stateMachineTrigger

Triggers any state transition without triggers for an object's statemachines.

Use this to make the statemachines of an object re-evaluate all guards from the current state and transition if possible.

Using the stateMachineTrigger, you can create statemachines that follow a path set out by guards instead of having to manually use named triggers.

Syntax

Object.stateMachineTrigger

Example

self.stateMachineTrigger

Tells the object to check if it can move to a new state based on the new data.