cancel
Showing results for 
Search instead for 
Did you mean: 

Error in Receiver Determination condition

0 Kudos

Hi Experts,

I have created a file to file scenario having no IR objects. I just need to pick the files from a sender folder

and send them to different folders on the receiver system based on file name.

So I have given some conditions in receiver determination like this:

(Filename = FWAAA) OR (Filename = FWBBB) OR (Filename = FWCCC) OR (Filename = FWDDD) OR (Filename = FWEEE) OR (Filename = FWFFF)   then recv 1.

(Filename = FWLLL) OR (Filename = FWKKK)    then recv 2.

(Filename = FWNNN) OR (Filename = FWMMM)   then recv 3.

But the problem is that recv 1 is picking all the files which is not intended for it i.e. it is picking files of recv2 and recv3 also

and recv2 and recv3 are receiving their intended files.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Have you enabled the ASMA properties of file adapter in sender file channel ?

Are you able to see the file name in the under SOAPHeader -> DynamicConfiguration of pipeline steps ?

if the file name is as you mentioned in your condition your condition should work...

HTH

Rajesh

Answers (3)

Answers (3)

0 Kudos

Hi All,

The issue is resolved , there was problem in file naming and condition criteria.

Thanks to all.

Regards,

Roshan

gagandeep_batra
Active Contributor
0 Kudos

hi roshan

check whether  rev2 and recv3 also getting other files if yes then problem with condition

and how you refer the file name ?

Regards

Gagan

0 Kudos

Hi Gagandeep,

I am referring the file name from Context Object of the Condition Editor from.

Regards,

Roshan

gagandeep_batra
Active Contributor
0 Kudos

can you give the file name which you are passing.

zameerf
Contributor
0 Kudos

>>and recv2 and recv3 are receiving their intended files

If recr2 and recv3 routing works properly, just check the condition part for recv1. you might have done some mistake with conditions there.

0 Kudos

Hi Zameer,

Condition part is correct.

udo_martens
Active Contributor
0 Kudos

Condition part is correct.

Can you send a screenshot?

0 Kudos

Hi Udo,

Below is the screen shot.

zameerf
Contributor
0 Kudos

In this screenshot which receivers are working and which one is not working?

I could see that you have mentioned = for Recv1 and Recv2(only when filename is *FE003* or *FE009* then this will be sent to Recv1 and Recv2 respectively). For Recv3 you have given the Contains Pattern(

≈) where if the pattern is like FA001 in filename then it will be sent to Recv3. Guess you have to clearly identify your requirement to send files.

0 Kudos

Hi ,

Please ignore the previous screen shot , this is the correct one.

Regards,

Roshan

udo_martens
Active Contributor
0 Kudos

Hi Roshan,

The configuration looks actually right and very logically.

The behaviour would be explainable if "FileName" contains something like "*FC009*FA001*". Can you monitor "FileName"?

Is it possible to use the "=" operator instead of "contains pattern"? (are the filenames allways the same?).

Regards,

Udo