Process Trigger Properties
The Process Trigger Properties window contains the settings for a Process Trigger.
Property Pages
General
Name for this trigger (optional)
Optionally, specify a descriptive name for the trigger.
Enabled
Uncheck this box to disable the trigger. If the trigger is not enabled, adTempus will ignore it (it will not cause the job to trigger).
Minimum Interval
Specify the minimum interval (in seconds) for this trigger. Once the triggers conditions are satisfied and the job is triggered, adTempus will ignore this trigger for the specified interval.
For example, suppose you are using a File Trigger to trigger the job whenever a new file is added to a folder. If you set the interval to 60 seconds, then once adTempus triggers the job, it will ignore any new files that arrive in the next 60 seconds.
Description/Notes
Enter any extended descriptive information or notes for this trigger.
Job Variables
The Job Variables page allows you to define Job Variables that will be set for this job only when it is started by this trigger.
Process Criteria
Specify the process names that adTempus should monitor. You must specify the executable name (e.g., "notepad.exe"). If there is more than one process on the computer with the same name, you may optionally include the full path of the version of the process that you want to monitor.
If you specify more than one process, adTempus will trigger the job whenever any of the processes you list satisfies the other criteria.
If you do not specify any processes, adTempus will trigger for every process on the system, which is probably not what you want.
Trigger Conditions
Select the conditions under which the job will be triggered. You must select at least one option.
Use a script to select processes
adTempus will run the script you specify. Information about the process will be passed to the script using the Parameters object and through Job Variables (see list below). Your script then evaluates the process information and returns True if adTempus should trigger the job, or False if it should not.
adTempus calls the script only for events that have satisfied all of the other criteria for the trigger.
Description/Notes
Enter any extended descriptive information or notes for this trigger. There is no limit on the length of the text.
Job Variables
The Process Trigger sets the following Job Variables, which can be used by a selection script or by other scripts or notification messages in the job.
Parameter Name | Description |
ProcessTrigger.ProcessID | The Windows process ID for the process. |
ProcessTrigger.ProcessName | The name of the process |
ProcessTrigger.ProcessEvent | The action that caused the trigger: TriggerProcessStarted, TriggerProcessEnded, TriggerProcessMemExceeds. |
ProcessTrigger.ProcessEventDescription | Description of the action that caused the trigger: "started", "ended", or "exceeded memory threshold" |
Related Concepts