Skip to Content
avatar image
Former Member

Receiver determination using file extension for pass through interface

We have a scenario,

We will be getting files with different extensions as email attachment.We need to move it to different folders based on their extension.This is just a pass through scenario , we will not be using any mapping in it.

Ex:

abc.csv -->> c:\\csv_files\

def.txt -->>c:\\txt_files\

xyz.xslx -->>c:\\xlsx_files\

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 27, 2017 at 01:21 PM

    Hi Bharath!

    I guess that you won't be able to use receiver determination in your case. If you would use file sender adapter - you could try to use Context object "FileName" for file name checking and selecting the appropriate receiver.

    But since you use mail adapter with attachments - the only way I see is to create objects in ESR and use Extended Receiver determination to check the file name. Or another option might be to include file name in mail subject on sender side and check the respective Context Object (if you're going to continue with pass-through scenario).

    Regards, Evgeniy.

    Add comment
    10|10000 characters needed characters exceeded