Reconfigure an approval condition

  • 릴리스 버전: Australia
  • 업데이트 날짜 2026년 03월 12일
  • 소요 시간: 1분
  • Approval activities react differently to script errors than the other activities.

    이 태스크 정보

    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.