cancel
Showing results for 
Search instead for 
Did you mean: 

Receiver Determination with not EQUAL operation issie

0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

PriyankaAnagani
Active Contributor

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

manoj_khavatkopp
Active Contributor
0 Kudos

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.

apu_das2
Active Contributor
0 Kudos

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