cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic File name in IR bypass scenario

Former Member
0 Kudos

Hi All,

i have a scenario , where i am bypassing my IR part.

i need to transfer image files from one location to another.

Now i need to create the Directory as current date and Filename with what i have in sender file name.

Any clue guyz?

Accepted Solutions (1)

Accepted Solutions (1)

santhosh_kumarv
Active Contributor
0 Kudos

Since you are bypassing IR(Mapping) you can't set the file name/directory parameter dynamically. Other options is to use Run OS Command option to create directory and move file.

~SaNv..

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Sam,

As for the file name, you can make use of the Adapter Specific Message Attributes available in the Advanced tab of the sender and receiver communication channels to pass through the name of the source file and assign the same name to the target file.

In the source communication channel, please check the following check boxes:

1. Set Adapter Specific Message Attributes

2. File Name

In the receiver communication channel, please check:

1. Set Adapter Specific Message Attributes

2. Fail if Adapter Specific Message Attributes missing

3. File Name

This will enable you to pass throught the file name without the need to create any IR objects.

Regards,

Jyotika.

Edited by: Jyotika Manghani on Dec 10, 2010 7:18 AM