Passing Parameters Between Scripts

Each script executed by adTempus has access to a global connection named Parameters. This is a collection of VARIANTs, keyed by the parameter name.

The Parameters 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 Parameters collection.

The Parameters 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 Parameters collection, a subsequent script (for example, a Script Condition) can retrieve this value.

Parameters can also be used to determine the subject and message body for notification messages.