2 weeks ago
Hi all,
Ive an issue regarding receiver determination based on a Source FileName.
Ive a file to file scenario without any ESR objects.
The FileNames look like this:
CRM_12345_TimeStamp
CRM_<all Other Values>_TimeStamp
Based on the source FileName I need to send Files containing the value 12345 to Receiver 1 and all Files containing other values except 12345 to Receiver 2
I try this in the Iflow:
(ContextObject.FileName CP "*12345*") --> Reiceiver 1 --> This is working
(ContextObject.FileName != "*12345*") --> Reiceiver 2 --> This is NOT working
Ive red that (Not) Equal to with a Wilcard (*) is not working.
So what is the solution here? How can I achieve this and solve this issue?
Your help is appreciated,
Kind regards
John
Hi John,
@pi_consultant1 wrote:Hi Caner,
I selected the Receiver 2 as a default Receiver and when I test it with 2 receiver it works 🙂
But I didnt think it would matter but there is also another Receiver where all file should go to.
So when I add this receiver (receiver 3) than the files dont go to default receiver (Receiver 2) anymore.
Any idea why is that? And how to solve it?
Thank you!
"Default Receiver" selection works as "otherwise". If the iFlow cannot find any receiver, the "Default Receiver" becomes the receiver. In your case "Receiver 2" cannot receive files if it defined as the "Default Receiver" and "Receiver 3" is the receiver where all file should go to.
In this case, it's necessary to define the correct Xpath statement for "Receiver 2".
Good luck.
Caner.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
9 | |
9 | |
7 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.