Defines FAILED action status.
Optional
errorA FAILED action may report a corresponding error state with an error description reported by invoking the given function (optional).
If not specified or if the function returns undefined
or an empty
string, only the action state change is reported, but not an error
state.
Optional
linkedSpecifies a function to return a partial state to be updated when this status is entered (optional).
Defines FINISHED action status.
Optional
linkedSpecifies a function to return a partial state to be updated when this status is entered (optional).
A result reported by invoking the given function in FINISHED action status.
Optional
INITIALIZING?: { Defines INITIALIZING action status (optional for node, edge, and instant actions).
Time in seconds to stay in this status.
Specify either a number of seconds or a tuple with the name of the action parameter whose numeric value should be taken and a default value to be taken if this action parameter is not existing.
Optional
linkedSpecifies a function to return a partial state to be updated when this status is entered (optional).
The next status to transition to after the duration time elapses.
Optional
ON_Define status change information for a node or edge action that can be canceled by interrupting an initializing, running or paused action (for interruptable node and edge actions only).
After cancelation the action transitions to status FAILED automatically.
Optional
linkedSpecifies a function to return a partial state that must be updated when the action is canceled (optional).
Defines the initial state (mandatory for all actions).
The initial status to transition to when the action is being executed.
This transition must always be present. Value must be INITIALIZING or RUNNING for node and edge actions. Value must be INITIALIZING, RUNNING, or FINISHED for instant actions.
Optional
ON_Define status change information for an edge action to be terminated (for edge actions only, mandatory for edge actions).
Optional
linkedSpecifies a function to return a partial state that must be updated when the edge action is terminated (optional).
The next status to transition to after an edge action has been terminated.
Optional
RUNNING?: { Defines RUNNING action status (mandatory for node and edge actions, optional for instant actions).
Time in seconds to stay in this status.
Specify either a number of seconds or a tuple with the name of the action parameter whose numeric value should be taken and a default value to be taken if this action parameter is not existing.
Optional
linkedSpecifies a function to return a partial state to be updated when this status is entered (optional).
The next status to transition to after the duration time elapses.
Generated using TypeDoc
A specification format to define all possible states of an action, its transitions, and side effects.
Remarks
The action state PAUSED is not part of the format. State transitions from/to this state are handled internally by the adapter.