Wait for Event Activity

The Wait For Event activity waits for one or more events to occur, based on the events added to this activity; otherwise, it can be set to time out.

The Wait For Event activity can subscribe to events created in the Event model. To use these events in the current workflow's Wait for Event activity, they must be added to External Events in the subprocess or workflow configuration panels.

The Wait For Event activity can also subscribe to local events created in a workflow by the Create Event Activity, or may trigger Event Handlers.

General Settings

The following table describes the wait behaviors available for this activity:

Wait for...ValueDescription
All events to occurN/ASelect this option if you want the activity to wait for all events in the events list to occur before moving to the next activity.
Any event to occurN/ASelect this option if it does not matter which event in the events list occurs before moving to the next activity.
TimeoutUser-defined TimeSpan (days, hours:minutes:seconds)Specifies a timeout condition where the activity waits for one or more activities to occur, or timeout at the specified time. You can bind to other workflow, subprocess, or activity properties, or build an expression based on existing workflow values.

Events

AttributeValueDescription
Add EventN/AClick this button if you want to add more than one event to the Events list.
EllipsisUser-definedClick this button to select an event resource.
Remove Event buttonN/AClick this button to remove the current event resource.
Remove Event buttonN/AClick this button to remove the current event resource.
Event SourceSystem-definedDisplays the name of any preconfigured event that has been added.
Outputs: OccurredSystem-definedThe default is a Boolean data type that can be bound to a workflow, subprocess, or activity variable.
Outputs: otherUser-definedOutput properties are dependent on the configuration of selected events.

Property Values

The following property values are available for this activity:

PropertyValueDescription
TimedOutBooleanIndicates whether the event timed out or not. Output is True or False.
TimeoutTimeSpanIndicates the time to time out.
WaitForAllBooleanIndicates if this activity will wait for all events to occur. Output is True or False.
WaitDefinitionSystem-definedOutput based on configuration of the wait definition.