---
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


---

# Create an error condition exit

# Create an error condition exit {#ariaid-title1}

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

An administrator can reroute the workflow when a script error occurs by creating an
error condition exit for specific activities within the workflow. This allows the workflow
to process script errors in a predictable way and not create undesirable
results.

## Prozedur

1. Open and check out a workflow.
2. Right-click in the top portion of the activity for which you want to create an error exit.
3. Select Add condition from the context menu.
4. Add a condition exit with the following values:  
   * Name: <kbd class="ph userinput">Error</kbd>
   * Condition: <kbd class="ph userinput">activity.state=='faulted'</kbd>
   {#t_CreateAnErrorConditionExit__ul_djs_h4z_qq}
5. Click Submit.  
   The Error exit appears on the activity.
6. Connect the Error exit to another activity for handling the error state, such as Notification or Log Message.  

