OptionalcompensatedBy?: stringUnique Name of a workflow state which is responsible for compensation of this state
Optionalend?: EndState end definition
Optionalexclusive?: 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
Optionalname?: stringState name
OptionalonEvents?: Onevents[]Define the events to be consumed and optional actions to be performed
Optionaltimeouts?: {State specific timeouts
OptionalactionExecTimeout?: ActionExecTimeoutAction execution timeout duration (literal ISO 8601 duration format or expression which evaluation results in an ISO 8601 duration)
OptionaleventTimeout?: EventTimeoutTimeout duration to wait for consuming defined events (literal ISO 8601 duration format or expression which evaluation results in an ISO 8601 duration)
OptionalstateExecTimeout?: StateExecTimeoutWorkflow state execution timeout duration (literal ISO 8601 duration format or expression which evaluation results in an ISO 8601 duration)
Optionaltype?: "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