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 was triggered on January 2, 2011 at 11:00 AM, the return value would be 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.

Display the message "AMTrigger.TriggeredDateTime return value - %AMTrigger.TriggeredDateTime%" in a message box.

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

Related Topics