cancel
Showing results for 
Search instead for 
Did you mean: 

Does Activiti BPMN framework support list/multivalue variable in exclusive gateway condition ?

jdp
Confirmed Champ
Confirmed Champ

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.

1 REPLY 1

abbask01
Star Collaborator
Star Collaborator

For complex evaluation you should create java beans instead. Simply call it using ${yourbean.evalute()} in the flow condition

Regards,
Abbas