Get assign user from task completed


#1

How i get the assigned user from completed human task to be sended to the next task?
I need to get the id from user of CAMUNDA.


#2

One approach would be On Task Listener (Complete Event), you can capture the userId
task.setVariable(“userId”, task.getAssignee());