I have a defined workflow where for each process I need to know which user completed that process. I assume I’ll need to use springs security context to get the current user, but where can I add this value to a process?
I hope to query and get a representation something like below, currently, I can get all three of those values okay except the userId:
‘{
“endTime”: “1583835958780”,
“name”: “State change”,
“type”: “serviceTask”,
“userId”: “9160dae7-7446-4fb1-abca-17d10a77e1f9”
}’