How do dynamically assign a user or a group to a specific pool, all the user tasks present under this pool will be assigned to that particular user or the group. I am able to assign a user dynamically( by doing a rest call and passing the user name as a process variable and then using the ${user} under the assignee option in the modeler. Could someone provide the solution?
Hi @007arindam007,
I cound not provide a solution but some hints to build it yourself.
You can parse the bpmn xml with the model api (https://docs.camunda.org/manual/7.12/user-guide/model-api/bpmn-model-api/read-a-model/) and extract the informations you need.
Put this logic into a java bean that can be used in the expression to provide the information you need.
Hope this helps, Ingo
Thanks for providing this input