Optional
compensatedBy?: stringUnique Name of a workflow state which is responsible for compensation of this state
Optional
end?: EndState end definition
Optional
exclusive?: booleanIf true consuming one of the defined events causes its associated actions to be performed. If false all of the defined events must be consumed in order for actions to be performed
Optional
name?: stringState name
Optional
onEvents?: Onevents[]Define the events to be consumed and optional actions to be performed
Optional
timeouts?: {State specific timeouts
Optional
actionExecTimeout?: ActionExecTimeoutAction execution timeout duration (literal ISO 8601 duration format or expression which evaluation results in an ISO 8601 duration)
Optional
eventTimeout?: EventTimeoutTimeout duration to wait for consuming defined events (literal ISO 8601 duration format or expression which evaluation results in an ISO 8601 duration)
Optional
stateExecTimeout?: StateExecTimeoutWorkflow state execution timeout duration (literal ISO 8601 duration format or expression which evaluation results in an ISO 8601 duration)
Optional
type?: "EVENT"State type
This state is used to wait for events from event sources, then consumes them and invoke one or more actions to run in sequence or parallel