03-28-2019 04:32 AM
Hi,
I have used ArrayList<Integer> object as a source object for expression used in conditional flow:
Source Object:
List<Integer> listVariable = new ArrayList();
listVariable.add(22);
listVariable.add(33);
listVariable.add(44);
listVariable.add(55);
Flow condition expression:
${listVariable.contains(44)}
This expression evaluates always false even if value contains in list source object.
However when I use it with String object List<String>, it works fine.
Can anyone suggest what is wrong here ? or is it a bug of Activiti itself ?
Note that we are using Activiti 5.15 version.
Thanks,
Paresh
Explore our Alfresco products with the links below. Use labels to filter content by product module.