on 07-18-2011 12:07 PM
Hi All,
can you please provide me solution how to route the file based on file name with out touching file content.
Business criteria :
> One source directory having zip files with different file names
> File adapter have to pick the zip files and have to route it to different email addresses based on fist 5 characters of file name.
please provide possible solutions to route the zip files to target.
Regards,
Sreeramulu Konjeti.
>please provide possible solutions to route the zip files to target.
Use Standard receiver determination and in the condition editor use CONTEXT object to write logical expressions based on the file name.
Debashish already given idea about writing condition expressions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use Standard context object FILENAME.
in receiver determination Put a condition based on standard context object FileNAME
In the receiver determination, in the condition channel, use the Technical context object 'FileName' for file adapter.
Follow the below path:
Goto Receiver Detrmination --> Condition --> Left Operand f1 Help --> select first option 'Context Object' --> 1 List will be popped up --> Select FileName for File adapter from that list
It will route the file based on filename.
You can use CP for contains pattern (u2248) in condition
FileNAME u2248 ABCFI*
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.