Startup Trigger

Description

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

Practical Usage

Used to start a task that should run when the system starts.

Related Topics  

Parameters

General

Property Type Description
Startup Type Options Specifies the type of startup to monitor. The available options are:
  • Any user logon - The task will run when any user logs on.
  • Specific user logon - The task will run when the specified users logs on. Multiple users can be entered by delimiting each entry with a semi-colon (Example: User1;User2;User3)
User Text The username to launch the task upon logon. Multiple users can be entered by delimiting each entry with a semi-colon (Example: User1;User2;User3)

Behavior

Property Description
Enable trigger If selected (default), the trigger

Additional Notes

AMTrigger

When this trigger is activated, it automatically passes the AMTrigger object to the task. AMTrigger is a standard Automate dataset and can be used much like the datasets created by the Database - SQL query activity and Email action. The fields of AMTrigger can be used within a task to determine specific values, such as whether or not the task was started by a trigger, which trigger started the task, when the trigger was activated and other properties. AMTrigger populates a unique set of field–value pairs for each Automate trigger. The following table lists the ones specific to this trigger. For more details about a specific AMTrigger field–value pair, click the associated link.

Name Data Type Value
AMTrigger.UserName String Returns the username that was set to log on in order to initiate the trigger.
NOTE: A full list of AMTrigger objects exclusive to each trigger can be viewed from the Expression Builder by expanding Objects > Triggers and selecting the desired trigger.