on 09-04-2012 10:32 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
The issue is resolved , there was problem in file naming and condition criteria.
Thanks to all.
Regards,
Roshan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>>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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.