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:

  • Task service startup - The task will run when the AutoMate task service starts (this normally occurs during computer startup before logon screen appears). Note that only tasks that run in the background can be launched during task service startup. Tasks containing activities that perform desktop interactions (i.e. Move mouse to object, Press, Get text, Close window, Focus window) will fail due to no desktop.

  • Any user logon - The task will run when any user logs on.

  • Specific user logon - The task will run when the specified user(s) 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 set to YES (default), the trigger

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 SQL Query and Email actions. 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.