Triggers are objects that watch for specified system events or conditions to occur and "triggers" task execution 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, when a process starts, stops, or becomes unresponsive 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.

Available Triggers

 Below is an alphabetical list of triggers AutoMate provides, including links to the topics covering each type.




Event Log Trigger

Launches a task when the monitored event is added to the Windows Event Log.

File System Trigger

Launches a task when one or more files are added, modified or deleted in the folder specified. It can also trigger execution when a number of files exceed the amount specified, when one file size exceeds the amount specified or when the total size of the folder exceeds the amount specified.

Idle Trigger

Launches a task when no keyboard or mouse input occurs for the specified period of time (i.e. the system is idle).

Key Trigger

Launches a task when a hot-key combination is pressed or a specific word is typed on the keyboard.

Performance Trigger

Launches a task when a system or process threshold (such as CPU utilization and memory usage) is met.

Process Trigger

Launches a task when the specified process starts, ends or stops responding.

Schedule Trigger

Launches a task at the date, time or interval specified. This trigger can be used for scheduling tasks to run at night or at the end of every work-day, week, month or other time frame.  

Service Trigger

Launches a task when the specified service starts, stops, pauses, resumes or stops responding.

SNMP Trap Trigger

Launches a task when a SNMP (Simple Network Management Protocol) trap is received.

Startup Trigger

Launches a task when the AutoMate task service starts or when a user logs onto the system.

Window Trigger

Launches a task when the specified window opens, closes, is focused or loses focus.

WMI Trigger

Launches a task when a WQL (WMI Query Language) query executed on the agent machine returns true or more than 0 rows. Queries built using WQL are used to manage and control the WMI Service.   

Adding a Trigger to a Task

Triggers can be added to a task during task creation with the use of Add Task Wizard or via the Triggers section of the Managed Task Properties of a given task. In both cases, a window titled Triggers appears allowing the selection of a trigger.

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 (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 trigger. If it should also run when a certain file is added to a specific folder, simply add a File System trigger 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.


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 Also

About Triggers

Triggers Properties

Settings Triggers