---
sourceDocument: Xanadu ServiceNow AI Platform Capabilities
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/servicenow-platform

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Reconfigure an approval condition

# Reconfigure an approval condition {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Approval activities react differently to script errors than the other
activities.

## About this task

Approval activity script errors can prevent an approval from being processed
successfully. This, in turn, can cause the approval to complete as
Skipped, which can appear to be an
Approved state. To prevent this from happening,
reconfigure the Approved exit as follows:

## Procedure

1. Open an approval workflow and make sure it is checked out.
2. On an approval activity, double-click the Approved exit.
3. Add the following script to the Condition field:  
   `&& activity.state != 'faulted'`  
   This prevents the activity from continuing down the normal path in an error
   state and ensures that Skipped or
   Approved is the desired state.
4. Click Update.

