Created 04-03-2019 04:54 AM
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
Created on 04-04-2019 01:16 PM - edited 08-17-2019 04:13 PM
@Mahendra Hegde, I've built the flow as described. It works as expected without any exception.
I just have formatted the value of condition for RouteOnAttribute.
I've tested on latest build (1.10.0-SNAPSHOT).
Please verify your version. Please let us know version number and share the exception (logs).
Created on 04-04-2019 01:16 PM - edited 08-17-2019 04:13 PM
@Mahendra Hegde, I've built the flow as described. It works as expected without any exception.
I just have formatted the value of condition for RouteOnAttribute.
I've tested on latest build (1.10.0-SNAPSHOT).
Please verify your version. Please let us know version number and share the exception (logs).