Thank you for your feedback.
Form temporarily unavailable. Please try again or contact to submit your comments.

Wait for WF Event workflow activity

Log in to subscribe to topics and get notified when content changes.

Wait for WF Event workflow activity

The Wait for WF Event activity causes the workflow to wait at this activity until the specified event is fired.

Use this activity to wait for another activity to fire an event. Events from other activities are fired in a script using the workflow.fireEvent('eventName') API call.


The workflow designer can assign a result value using activity.result from within a script field of the activity. This activity transitions when the specified event fires.

Input variables

The following variables determine the behavior of the activity.
Note: Condition activities run as the user whose actions match the conditions the workflow was waiting for and advances the workflow.
Table 1. Wait For WF Event activity input variables
Field Description
Wait for Event An event name to trigger the workflow.


The activity state tells the workflow engine what to do with the activity.
Table 2. Wait For WF Event activity states
State Description
Executing The workflow engine knows to start the onExecute function of the activity.
Waiting The workflow engine ignores the activity until a specific event to restart the activity is fired.
Finished The activity finished running. See the result value for the outcome of the activity.
Cancelled This activity, or the workflow that contains this activity, was canceled.
Error A JavaScript error occurred. Review the logs for error details.