wso2bpmnwso2-business-process

How to get current user by wso2 bpmn?


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

I want to get it to call other REST-API

Thanks!


Solution

  • 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.