Configure Data Associations
Data association refers to the flow of data within a workflow. Use the data association editor to define input and output for workflow elements that need them.
A data association involves a source and a target, where the source provides a value or an expression to be assigned to the target. A user task, for example, needs both input and output data association.
- On the input side, it needs data input into the user task (referred to as its payload).
- On the output side, after the task has completed, it needs output from the task to data objects, to store results for use elsewhere.
Task Exec Variables
Task exec variables can be mapped in output data associations to store task execution details in your workflow.
When configuring output data associations for a user task, the following task exec variables are supported:
| Variable | Description | Type |
|---|---|---|
| taskExec.taskId | Task number | String |
| taskExec.title | Title | String |
| taskExec.approverDisplayName | First name and last name of latest approver. | String |
| taskExec.summary | Summary | String |
| taskOutcome | Outcome of a task. For example, APPROVE or REJECT. | String |
| taskExec.approvers | Details of each approver. Use when multiple approvers act on a task. | Array of objects, contained fields. |
| taskExec.approvedDate | Date of task action. For example, date of approval. | DateTime |
| taskExec.approver | System identifier of latest approver. | String |
| taskExec.createdDate | Created Date | DateTime |
| taskExec.approvedDate | Date on which action is taken. For example, the date when approval is taken for a task. | DateTime |
| taskExec.assignedDate | Assigned Date | DateTime |
| taskExec.priority | Specify the priorities as:
|
int |
| taskExec.fromUser | Creator or user who reassigned the task. | Object (Identity Type). Contains the following fields:
|
| taskExec.approverName | Username of the latest approver. | String |
| taskExec.dueDate | Due date | DateTime |