About Triggers

Triggers are objects that "watch" for specified system events or conditions to occur and causes a task to run as a result. You can set a trigger to automatically execute a task based on a schedule, when a change occurs on the file system, when an entry is written to the system event log or any of a variety of other events or conditions. When a task is "triggered" the steps in the task (comprised of "actions") are executed.

*Click a trigger illustrated below to view more details.

Adding a Trigger to a Task


Triggers can be added to a task during task creation from the Add Task Wizard or via the Triggers tab of the Managed Task Properties dialog window of a given task. In both cases, a dialog window titled Triggers appears allowing the selection of a trigger, as illustrated above. For more details about adding and setting triggers, see Setting Triggers.

For more information about creating tasks using the Add Task Wizard, see Creating_a_Task_Using_the_Wizard.

For more information regarding manual task creation, see Creating a Task Without the Wizard.

NOTE: A task must have at least one trigger to run automatically, but tasks that have no triggers assigned may still be run manually from the Task Administrator or Task Builder An intuitive development interface where AutoMate Tasks are created. Task steps are created by dragging-and-dropping actions from a palette in Task Builder and placing them in the sequence desired for execution. (see Starting and Stopping Tasks).

Attaching Multiple Triggers


Multiple triggers of the same or differing types may be attached to a single task. For example, if a task should run once daily, add a Schedule watcher trigger, if it should also run when a certain key combination is pressed, simply add a Key watcher as well. Attaching multiple triggers acts as an OR condition (as opposed to AND) whereby either of the trigger events will launch the task.

Note: AND conditions can be created by attaching the first requirement as a trigger and then adding steps at the beginning of the task that use the IF action to evaluate any extra conditions and stop the task if the conditions are not met.

Advanced


When a task is triggered, it automatically creates a dataset called AMTrigger. This dataset can be used within a task to determine whether or not the task was started by a trigger, which trigger it was, and properties of that trigger. See Using AMTrigger for more information.

See Also

Setting Triggers

All Available Triggers

Using AMTrigger