Hello,
I need to route files from AS2 to different systems based on the AS2 file name. Its been working fine so far based on the receiver determination conditions. Ex, file name starts abc* should go to ECC.
Now there's a new file - abc.xyz.date.HR.txt, which should be routed to HCM. I.e. all files starts with abc* except the one with abc*xyz*HR* should be sent to ECC and only abc*xyz*HR* should be sent to HCM. Please suggest as how to achieve this using the XPATH conditions?
Thanks
Hi Joe!
XPath 1.0 doesn't support regular expressions.
So the first way is to use Extended Receiver Determination where you use mapping to build receivers list.
The second way, if your file name starts and ends with fixed parts, is to use combination of starts-with() and end-with() XPath functions.
Regards, Evgeniy.