Search code examples
variableshiveworkflowactivitibpmn

Activiti BPMN - How to pass username in variables/expression who have completed task?


I am very new to Activiti BPMN. I am creating a flow diagram in activiti. I m looking for how username (who has completed the task) can be pass into shell task arguments. so that I can fetch and save in db that user who has completed that task.

Any Help would be highly appreciated.

Thanks in advance...


Solution

  • I have used activiti:taskListener from activiti app you need to configure below properties 1. I changed properties in task listener. 2. I used java script variable for holding task.assignee value.

    Code Snip:-