Filter list on one of mulitple enumeration values in a Microflow
0
Hi, I want to use the FILTER activity with an attribute of the list of objects to be one of a subset of enumeration values. I tried the EQUAL to, with an OR in the specification. But this gives an syntax error. How can I do this?
asked
John Leerentveld
1 answers
2
Yes unfortunately this is not possible in this way.
There a couple option for this:
Use multiple list filter actions(1 per enum value) and add all the results to a new list
Use a loop to iterate over all the values and check with an Decision if the iterated object has the correct enum and add it to a new list
Use an database retrieve with Xpath to get the list, then you can use an or statement