How to get current user by wso2 bpmn?

256 Views Asked by At

How can I get current user when claims task by wso2 bpmn?

I want to get it to call other REST-API

Thanks!

1

There are 1 best solutions below

2
On BEST ANSWER

After claiming the task, he becomes the assignee of that task. You can GET the task info from the rest endpoint https://Host_Name:PORT/bpmn/runtime/tasks/{task-id} and it contains the username of the assignee.