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

cancel
Showing results for 
Search instead for 
Did you mean: 
jdp
Active Member

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

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
abbask01
Senior Member

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

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

Regards,
Abbas