Use condition scripts to run tasks

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

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

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 you add the variable used in the script to the execution plan task.
Figure 1. Use Condition Scripts