How to get current user in Camunda 8 Tasklist?

Hi all,

In Camunda 7 there was a way to get the id of user which start the process instance in the Camunda Tasklist.

image

Also, there was a ${currentUser() } function that could do almost the same thing: retrieve the current user ID.

Is it possible to do the same trick in Camunda 8?

Any updates for this?

Hi @mms and @gevezex, that’s not currently possible, but we have planned to add process and task metadata such as this to the variables useable in modeling. Yet, we have no delivery date.

Here’s a public issue to follow: Variable to Capture Process Initiator · Issue #329 · camunda/issues · GitHub

2 Likes

How can we expedite this feature in the native SaaS tasklist? Its a real blocker to a simpler UX when using low code, out of the box implementations…

Regards

Rob

Hi @Webcyberrob, we have this planned on our roadmap as one of the next items to look at. As a current workaround, you could use the API to fetch the assignee of a task after a task has been executed, and store that user in a variable. But this requires custom code, which is why I totally agree to the low-code statement.