Hi all,
I’m trying to use regular expressions as given below in a branch condition with evaluate labels as true.
-
/IDOC[0]/SEGMENT1/SUBSEGMENT1/NAME%==/[^TEMP|TEMP$|^TEST|TEST$]/ (same sequence of steps for both values starting or ending with TEMP and starting or ending with TEST )
-
/IDOC[0]/SEGMENT1/SUBSEGMENT1/NAME%==/[value|VALUE]/ (didn’t work)
Neither of these work, I have to give each value separate like below:
/IDOC[0]/SEGMENT1/SUBSEGMENT1/NAME%==“VALUE” OR /IDOC[0]/SEGMENT1/SUBSEGMENT1/NAME%==“value” (Note that || didn’t work , I have to use OR)
But if I have to give like above for point 1, I would have to use the same sequence of steps again and again. Actually for point 1, I have to check for 2 more values with OR.
The incoming doc is an IDoc. Even in the case of XML input, using /[value|VALUE]/ works in one service but fails in the other.
This appears strange, please provide your suggestions on this.
#Flow-and-Java-services#Integration-Server-and-ESB#webMethods