12-12-2019 06:51 AM
Hi,
Currently I am using Activiti BPMN framework for business process workflows. We are using gateway outflow conditions with expressions like status == 'Approved', stage == 1 and this is working fine. Now we have a requirement where we have list of values which needs to be compare in condition like array of string status
status[0] = Approved
status[1] = For Review
status[2] = For Approved
status[3] = Reviewed
status[4] = Rejected
Now I need to compare this set of values like "status contains 'Rejected'" in gateway condition, so ultimately I have list of values instead of one to compare. So question is does Activiti BPMN framework support list/multivalue variable in exclusive gateway condition ?
Note that I am using Activiti 5.15.
12-12-2019 12:40 PM
For complex evaluation you should create java beans instead. Simply call it using ${yourbean.evalute()} in the flow condition
Explore our Alfresco products with the links below. Use labels to filter content by product module.