on 05-30-2017 9:01 AM
Hi All,
I have File to Sftp Scenario where I am sending 2 different file like below:
1. 2088.4567.201789938874.MY6,2001.4567.201789938874.MY6
2. Other than above files.
I used in condition at Receiver Interface Condition in PI Integrated Configuration like below:
1. FileName = contains 2088.* or 2001.* --> Receiver CC _File1
2. FileName NOT EQUAL above --> Receiver CC_File2
But when i send file name 2022_20140130.MY6, then it is not going to recever CC_File2.
How to handle this requirement ?
I am not using Mapping, but I am using Contex Object FileName to validate the name of the file at run time.
Regards,
Ramu
This can be achieved in 2 ways.
Approach1: In the second receiver condition, i.e. FileName NOT EQUAL above, instead of OR try to use AND condition.
Approach 2: Use only first receiver condition and in ICO we've an option, If No Receiver Found Proceed as follows. there select following receiver and mention CC_File2.
--Priyanka
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Equals/Not Equals to operator (=) dosen't work with Widlcards(*) only approximately does , so i would suggest to go with Approach 2 suggested by Priyanka.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please paste the XPath expression you have used in the condition of Receiver Determination. Definitely, there is some problem in the expression, else it should work.
Thanks,
Apu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.