Workflow notification variables (legacy)
This article applies to the legacy workflow feature. For more information on the data-driven workflow feature introduced in version 2023.1 of Semarchy xDM, see Data-driven workflows. |
The following table lists the variables available in the workflow notifications for tasks and transitions.
Variable Syntax | Description | Example | Tasks | Transitions |
---|---|---|---|---|
|
ID of the load (workflow instance) stored in the repository |
23442 |
Yes |
Yes |
|
Name of the job executed at the end of the workflow |
PRODUCT_ALL |
Yes |
Yes |
|
Name of workflow defined at design-time |
CreateProductWorkflow |
Yes |
Yes |
|
Label of workflow instance (either the workflow design-time label or the label entered at runtime) |
Create Products Workflow |
Yes |
Yes |
|
Name of the administrator role defined for the workflow |
WorkflowAdministrator |
Yes |
Yes |
|
List of emails defined for the role defined as the workflow administrator, if any |
administrators@acme.com |
Yes |
Yes |
|
Name of current task as defined at design-time |
CreateItems |
Yes |
Yes |
|
Label of current task as defined at design-time |
Create Items |
Yes |
Yes |
|
Name of the entity managed in the current task |
Product |
Yes |
Yes |
|
Label of the entity managed in the current task |
Product |
Yes |
Yes |
|
Number of root records for current task. |
2 |
Yes |
Yes |
|
Name of the role the current task is assigned to |
SupplyChain |
Yes |
Yes |
|
List of emails defined for the role the current task is assigned to |
suppliers@acme.com |
Yes |
Yes |
|
Name of role who can assign/reassign the current task |
SupplyChainRouter |
Yes |
Yes |
|
List of emails defined for the role who can assign/reassign the current task |
spr@acme.com |
Yes |
Yes |
|
Name of current task assignee (the performer, when task is running). This is the concatenation of the user First Name and Last Name. |
Joe Celko |
Yes |
Yes |
|
User name of current task assignee (the performer, when task is running). This is the user login. |
joe.celko |
Yes |
Yes |
|
Email of current task assignee |
joe.celko@acme.com |
Yes |
Yes |
|
Name of current task assignee before an un-assign or re-assign operation. This is the concatenation of the user First Name and Last Name. |
Joe Celko |
Yes |
Yes |
|
User name of current task assignee before an un-assign or re-assign operation. This is the user login. |
joe.celko |
Yes |
Yes |
|
Email of current task assignee before un-assign or re-assign operation |
joe.celko@acme.com |
Yes |
Yes |
|
Max pending duration in minutes for current task |
- |
Yes |
Yes |
|
Actual pending duration in minutes for current task |
1929 |
Yes |
Yes |
|
Max running duration in minutes for current task |
- |
Yes |
Yes |
|
Actual running duration in minutes for current task |
12 |
Yes |
Yes |
|
Max total duration in minutes for current task |
- |
Yes |
Yes |
|
Actual total duration in minutes for current task |
1941 |
Yes |
Yes |
|
First start timestamp of current task |
2016-12-21 21:23:11 PT |
Yes |
Yes |
|
Timestamp at which task was terminated |
2016-12-21 21:23:23 PT |
Yes |
Yes |
|
Number of executions of current task |
1 |
Yes |
Yes |
|
Label of the event that generated current message. Can be one of the following: Task Started, Task Suspended, Task Finished, Task Assigned, Task Unassigned, Task Reassigned, Task Max Pending Duration Reached, Task Max Running Duration Reached, Task Total Duration Reached, Transition |
Transition |
Yes |
Yes |
|
Name of the transition |
RequestMoreInfo |
No |
Yes |
|
Label of the transition |
Request More Information |
No |
Yes |
|
Comments entered by the user during the transition |
Please approve. |
No |
Yes |
|
Name of the previous task as defined at design-time |
CreateProductData |
No |
Yes |
|
Label of previous task as defined at design-time |
Create Product Data |
No |
Yes |
|
Name of the entity for the previous task |
Product |
No |
Yes |
|
Label of the entity for the previous task |
Product |
No |
Yes |
|
Number of root records for the previous task. |
2 |
No |
Yes |
|
Name of role the previous task is assigned to |
Corp Marketing |
No |
Yes |
|
List of emails defined for the role the previous task is assigned to |
- |
No |
Yes |
|
Name of role who can assign/reassign the previous task |
Corp Marketing |
No |
Yes |
|
List of emails defined for the role who can assign/reassign the previous task |
- |
No |
Yes |
|
Name of the previous task’s assignee. This is the concatenation of the user First Name and Last Name. |
Bob Marley |
No |
Yes |
|
User name of the previous task’s assignee.This is the user login. |
robert.n.marley |
No |
Yes |
|
Email of the previous task assignee (the performer, when task is running) |
robert.n.marley@acme.com |
No |
Yes |
|
Max total duration in minutes for the previous task |
- |
No |
Yes |
|
Actual total duration in minutes for the previous task |
1941 |
No |
Yes |
|
First start timestamp of previous task |
2016-12-21 21:23:11 PT |
No |
Yes |
|
Timestamp at which previous task was terminated |
2016-12-21 21:23:23 PT |
No |
Yes |
|
Number of executions of previous task |
1 |
No |
Yes |
|
Name of the next task as defined at design-time |
CreateProductData |
No |
Yes |
|
Label of next task as defined at design-time |
Create Product Data |
No |
Yes |
|
Name of the entity for the next task |
Product |
No |
Yes |
|
Label of the entity for the next task |
Product |
No |
Yes |
|
Name of role the next task is assigned to |
Corp Marketing |
No |
Yes |
|
List of emails defined for the role the next task is assigned to |
- |
No |
Yes |
|
Name of role who can assign/reassign the next task |
Corp Marketing |
No |
Yes |
|
List of emails defined for the role who can assign/reassign the next task |
- |
No |
Yes |
|
Name of the next task’s assignee. This is the concatenation of the user First Name and Last Name. |
Bob Marley |
No |
Yes |
|
Username of the next task’s assignee. This is the user login. |
robert.n.marley |
No |
Yes |
|
Email of the next task assignee (the performer, when task is running) |
robert.n.marley@acme.com |
No |
Yes |
|
URL allowing to view and interact with the workflow |
http://host/semarchy/mdm-apps/dloc/app/legacy-workflow/42 |
Yes |
Yes |
|
Base URL for the Semarchy xDM server, as defined by the administrator. |
http://host/semarchy |
Yes |
Yes |
|
Base URL for the current application |
http://host/semarchy/mdm-apps/dloc/app |
Yes |
Yes |
|
Action button with URLs to interact with the task directly. |
<div><a href=…..>View Workflow</a>…</div> |
Yes |
Yes |