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

Reconfigure an approval condition

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

Reconfigure an approval condition

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:


  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.