Get assign user from task completed

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.

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