Hi,
I am running activiti from liferay.
I am trying to set candidate group for user task dynamically for which I have tried below solutions which are not working.
This is for liferay 6.2 CE GA6 and activiti version 5.18.0
Please let me know if I have missed anything or If you have a better solution.
Solution 1 :
Its regarding settting candidate group for a user task using proccess variable.
below is the bpmn code :
here , assignee is the process variable which is already set.
While executing the workflow, I am getting following exception :
------------------------------------------------------------------------------------------
Solution 2 :
I also tried below xml code but I am still getting the same exception :
Here, I have the multiInstanceLoopCharacteristics.
------------------------------------------------------------------------------------------
Solution 3:
I also tried to set the candidate group dynmically using DynamicBpmnService, Please check the code below :
For this approach, I used activiti version 5.19.0
I replaced the activiti engine jar from liferay >
tomcat> webapp > activiti-web > web-inf >lib
I am getting following exception while executing this code :
I am really stuck at this point and not able to proceed.
So your quick help would be appreciated.
Thank you