Condition scripts to run tasks

Administrators can use a condition script in addition to or instead of any condition to determine whether a task runs.

Note: If you are using both a condition (via the condition field) and a condition script, both must be true before the task runs.

To use a script, you must configure the Execution Plan Task form to add the "Condition script" field. If the script returns true, the task runs. If the script returns false, the task does not run.

Ensure that you add the variable used in the script to the execution plan task.
Figure 1. Use Condition Scripts
Use Condition Scripts