---
sourceDocument: Australia ServiceNow AI Platform Capabilities
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/servicenow-platform

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Wait for WF Event workflow activity

# Wait for WF Event workflow activity {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

The Wait for WF Event activity causes the workflow to wait at this activity until the specified event is fired.{#r_WaitForWFEvent__wf-wait-for-activity-shortdesc}
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.

## Results

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.  
Hinweis:  
Condition activities run as the user whose actions match the conditions the workflow was waiting for and advances the workflow.
{#r_WaitForWFEvent__table_uml_1qt_jp__entry__2}

| Field | Description |
|-|-|
| Wait for Event | An event name to trigger the workflow. |
[Tabelle : 1. Wait For WF Event activity input variables]

{#r_WaitForWFEvent__table_uml_1qt_jp}

## States

The activity state tells the workflow engine what to do with the activity.{#r_WaitForWFEvent__table_wvy_pqt_jp__entry__2}

| 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. |
[Tabelle : 2. Wait For WF Event activity states]

{#r_WaitForWFEvent__table_wvy_pqt_jp}

