Creating job-precondition scripts

Job-precondition scripts are used to determine whether a job can run.

A typical precondition is to require that all ancestor jobs are complete before the job runs.
  1. On the left navigational panel, click System > Job Precondition in the Script Library area.
  2. Click Create New Script.
  3. In the New Job Precondition Script window, type a name for the script in the Name field.
  4. Enter the script in the Script box.
    The script can be any JavaScriptâ„¢ code that results in a true or false value.
  5. Click Save.
To review or edit an existing script, select the script. For information about scripting, see the Build Scripting page: click Help > Tools > Scripting API.