Creating step-precondition scripts

Step-precondition scripts define the conditions that must be fulfilled before a step can run.

A typical step precondition might require that all prior steps are complete before the step can run.
  1. On the left navigational panel, click System > Step Precondition in the Script Library area.
  2. Click Create New Script.
  3. On the New Step 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.