Adding an OnComplete Script to a Workflow

Updated

You can execute a script written in Java or JavaScript when a workflow completes to run. For example, you can specify a script to determine whether an activity completed successfully after the workflow runs.

Procedure

  1. Open the workflow properties.

  2. On the OnComplete Script tab, enter the code.

    Tip: Click Insert Variable to add a workflow variable as needed.

Adding an On Complete Script to an Activity