Task to Role Mapping

For a particular task, how do i find out the role that it belongs too?
Basically, given a task, i can figure out the user executing that task and find the rolename of that user[but a user may have multiple roles], but how can i directly find out which role it belongs too? Keep in mind that the swimlane is configured to those actor/s who are mapped to the role Manager.

Hi

Try this

http://localhost:8080/bonita/API/identity/role?p=0&c=5

http://localhost:8080/bonita/API/identity/user?p=0&c=5

https://documentation.bonitasoft.com/6.x-7.2/identity-api#role

Regards