Get current user Id in Task Operations

1
0
-1

Hello All,

How can I get the current user id from within a script in a Operations assignment?

I want to store the user id in a BDM for future reference and auditing.

Thank you.

2 answers

1
0
-1
This one is the BEST answer!

After a lot of googling, the answer is that variable is no longer available,

1
0
-1

Actually this is possible. In the operation define a Groovy script that simply return the taskAssigneeId variable.

You can find an example of this in the vacation management example that store the id of the user who approve or reject the vacation request in the "Review request" step of the "New Vacation Request" process.

Comments

Submitted by mtsiak_1358773 on Fri, 03/16/2018 - 07:50

@antoine.mottier, i.e.we write a groovy script: return taskAssigneeId;

Notifications