You can use output mapping and the sys_task_assignee predefined variable to capture the assignee of a completed task. This is helpful because you could use the assignee information in another process. For example, you could use this in a support context where whoever the assignee of a completed task is could be the contact person for the account for which the task was carried out.
Note: The sys_task_assignee variable is a system
variable and cannot be edited.
To create a process that captures the assignee of a completed task:
- Create a form.
- Create a process that includes a user task.
- From the Properties pane select the form you created from the Form name drop-down list.
- From the Mapping type drop-down list select Map variables.
- Deselect the User task by clicking anywhere in the white space and then click Edit Process Variables from the right pane.
- Click the + icon and enter a name for the process variable in the Name field.
- From the Type drop-down list select Primitives then select string and then click Update.
- Select your User task again and from the sys_task_assignee drop-down menu under Output mapping select the process variable you have just created.
You now have a process that captures the assigned user of a
completed task.