---
sourceDocument: Yokohama Build workflows
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/build-workflows

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Build workflows

ft:clusterId :

    - crworkflow

bundleId :

    - crworkflow

workflow :

    - Creator


---

# Reconfigure an approval condition

# Reconfigure an approval condition {#ariaid-title1}

Release version: Yokohama  
Updated January 30, 2025  
![](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.

