AMTrigger.TriggeredDateTime

Syntax

%AMTrigger.TriggeredDateTime%

Trigger supported

Global (supports all triggers)

Type

Date

Description

Returns the date and time when the task was triggered. The value is returned in the following format:

MM/DD/YYYY HH:MM:SS

For example, if the task is triggered on January 2, 2011 at 11:00 AM, the return value is 01/02/2011 11:00:00.

Example

NOTE:
  • Copy and paste the sample AML code below directly into the Task Builder Steps Panel.
  • To successfully run the sample code, update parameters containing user credentials, files, file paths, or other information specific to the task to match your environment.

The following displays the message AMTrigger.TriggeredDateTime return value - %AMTrigger.TriggeredDateTime%:

Copy
<AMSHOWDIALOG WINDOWTITLE="AMTrigger Return Value">AMTrigger.TriggeredDateTime return value - %AMTrigger.TriggeredDateTime%</AMSHOWDIALOG>

Related Topics