AMTrigger.WorkflowInstanceID

Syntax

%AMTrigger.WorkflowInstanceID%

Trigger supported

SharePoint

Type

String

Description

Returns the globally unique identifier (GUID) of the current SharePoint workflow instance.  

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.

This sample task displays the message "The globally unique identifier (GUID) of the current SharePoint workflow instance is %AMTrigger.WorkflowInstanceID%" in a dialog.  

Copy
<AMSHOWDIALOG>The globally unique identifier (GUID) of the current SharePoint workflow instance is %AMTrigger.WorkflowInstanceID%</AMSHOWDIALOG>

Related Topics