Workflow Macros

Macros can be used in workflow functionality such as workflow e-mails, REST calls, or scripts to reference Therefore™ process- or system information, and add it at runtime.

Macro Description
[@AdditionalInfo] 

Contents of the workflow information text box.

[@AssignedToUserDispName]

The display name of the user to whom the current instance is assigned.

[@AssignedToUserName]

Username of the user to whom the current instance is assigned.

[@CurrentDate] 

Adds the current date.

[@CurrentDateTime] 

Adds the current date and time.

[@EformLink] 

Inserts a link to an existing eForm.

[@InitiatorDispName]

The display name for the initiator of the current instance.

[@InitiatorEmail]

E-mail of the initiator of the current instance.

[@InitiatorName]

Username of the initiator of the current instance.

[@InstanceNo]

Unique number for the instance.

[@MainDocNo]

Unique Therefore™ document number for the main document.

[@PrevTaskUserDispName]

The display name for user that processed the previous manual task.

[@PrevTaskUserDomain]

The domain of the user that processed the previous manual task.

[@PrevTaskUserEmail]

The e-mail address of the user that processed the previous manual task.

[@PrevTaskUserName]

Username of the user that processed the previous manual task.

[@ProcessDueDate]

The date on which the workflow process is due. This date is calculated by adding the specified process duration to the workflow process start date.

[@ProcessDueDateTime]

The date and time on which the workflow process is due. This date is calculated by adding the specified process duration to the workflow process start date and time.

[@ProcessName]

The name of the workflow process.

[@ProcessStartDate]

The date on which the workflow process was started.

[@ProcessStartDateTime]

The date and time on which the workflow process was started.

[@Server]

The DNS name of the Therefore™ Server which started the current instance.

[@TaskDueDate]

The date on which a specific task is due. (Task start-date plus the specified task duration).

[@TaskDueDateTime]

Date & time when a specific task is due. This date is calculated by adding the specified task duration to the task start date and time.

[@TaskNameFrom]

The name of the previous task.

[@TaskNameTo]

The name of the next task that will be transitioned to.

[@TaskStartDate]

The date on which a specific task started.

[@TaskStartDateTime]

The date and time on which a specific task started.

[@UserDisplayName]

The display name for the user who performed the last action.

[@UserDomain]

The domain name of the current user.

[@UserEmail]

The e-mail of the current user.

[@UserName]

The username of the user who performed the last action.

[@WebClientDocLink]

A URL to open the main document in Therefore™ Web Access.

[@WebClientLink]

A URL to open the workflow instance in Therefore™ Web Access.

[@WebPortalDocLink]

A URL to open the workflow instance in Therefore™ Portal.

Info Icon

For internal Therefore™ users, the macros with display name will return the username.