Get Assignee in modeler expression

Good day ,
In a user task listener I’m trying to get the Assignee from expression because currentUser() return null in the expression :
${execution.setVariable(‘us_engOffice’,currentUser())}

how to accomplish that.
image

Maybe instead of doing it when the event type ends, you can do it on event type assignment.

Good day Niall,
I tried it and returns null

You can try something like this:
task.setVariable('user',task.getAssignee())

1 Like

that worked perfectly,
Thanks a lot ,
image
can you please share a link to a documentation describes the built in expressions like this one
task.getAssignee()