Passing Data Between Scripts

Each script executed by adTempus has access to a global collection named JobVariables. This is a collection of variables, keyed by the variable name.

The JobVariables collection is used by adTempus to pass information to scripts. For example, if you specify a selection script for a File Trigger, your script receives the name of the file to evaluate in the JobVariables collection.

The JobVariables collection can also be used to pass information between scripts within a job. The collection exists for the life of the job; all scripts run within the job use the same collection. So if your File Trigger sets a value in the JobVariables collection, a subsequent script (for example, a Script Condition) can retrieve this value.