ArrayList<Integer> is not working with conditional flow expression

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Labels:
- Labels:
-
Alfresco Process Services
0 REPLIES 0
