AMTrigger - Database
Description
When a task is triggered, a pre-named (or fixed field) dataset called AMTrigger is created and populated with a collection of data related to the event or condition that initially triggered execution. AMTrigger is a standard Automate Desktop dataset that can be used within a task to examine particular characteristics about the initiated trigger, such as the type of event that activated the trigger, when it occurred, and what computer it occurred on.
Parameters
The total number of fields that AMTrigger creates during runtime and what they are named depends largely on the trigger that launched the task. Each trigger contains its own set of unique AMTrigger values. The following table lists the AMTrigger values related to the Database trigger. For more information on a specific AMtrigger value, click the associated link.
| Name | Data Type | Return Value |
|---|---|---|
| AMTrigger.Action | Options | The action that took place to cause the task to trigger. |
| AMTrigger.Source | String | The source database that was monitored to cause the task to trigger. |
| AMTrigger.Table | String | The name of the table that was originally monitored to cause the task to trigger. |
| AMTrigger.Type | Options | The database event type that activated the trigger. |