Configure Data Association
Data association refers to the flow of data within a process. Use the data association editor to define input and output for activities that need them.
-
On the input side, it needs data input into the activity (referred to as its payload).
-
On the output side, after the activity has just finished, it needs output from the activity to data objects, to store results for use elsewhere in the process.
To configure data association:
Data Association Tips
Use the Data Association Editor to add, edit, delete, and reorder data associations.
Below are tips for configuring data associations.
-
The following activities need data association. Note that some activities have only output, such as a start form event, which captures the data end users enter into the form.
-
Human
-
System
-
Events, except timer catch and end events
-
-
You can access the data association editor:
- By clicking an activity in a structured process, clicking the More
icon, and choosing Open Data Association.
- By selecting an activity in a structured process, and then clicking the Data Association
icon that is present at the top right of the process editor.
- By clicking a human or service activity in a dynamic process, clicking the More
icon, and then selecting Data Association. Choose Input to configure the activity's input data, and choose Output to configure the activity's output data.
- By clicking an activity in a structured process, clicking the More
-
In the Data Association Editor, click the Input tab to define data input into the activity, and the Output tab to define data output resulting from the activity.
-
Dropping an object into an association field that already contains a value replaces its value. If you drop an object into an input field that ends with an operator, the object name is appended to the field's contents.
- You can use predefined variables in data associations for structured and dynamic processes. Predefined variables contain process execution information. They enable users to use process execution information such as instanceId, creatorName, createdDate and so on in data association. Note that predefined variables are read only, and their values can't be edited.
Human Task Exec Variables
The following human task exec variables are supported in output data associations:
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 |
Process Variables
The following process variables are supported in output data associations:
Variable | Description | Type |
---|---|---|
businessKey | Business key | String |
creatorid | IDCS Id | String |
creatorType | User applicant | String |
createdDate | Date of creation | DateTime |
documents | Document | Document |
processExec.title | Process title | String |
processExec.instanceId | Process Id | String |
processExec.creatorName | Creator username | String |
processExec.creatorDisplayName | Creator display name | String |