Hello,
I am observing quite strange behaviour of anyDelineatedValue expression when I use it with 'OR' operation.
If I use 'AND' operation there is no issues.
Input attribute value:
org.entitlement.list=AA,CC,DD,FF
Expression used in RouteOnAttribte/UpdateAttribute processor :
${anyDelineatedValue("${org.entitlement.list}", ","):equals('BB'):or(${anyDelineatedValue("${org.entitlement.list}", ","):contains('EE')})}
Above expression is giving ArrayIndexOutOfBoundException for OR operation for the given input (where both the values which expression is looking is not present)
If I use 'AND' operation expression works fine. What is the difference here?
If I pass BB or EE in the input then expression wont give exception !
Looks like defect, can some one please suggest if anything wrong in this?
Thanks
Mahendra