Skip to Content
0
May 03, 2011 at 11:10 AM

How to generate file name dynamically in receiver FIle adapter? Please help

26 Views

Dear Experts,

I have a scenario where I need to generate output file with the name dynamically pulled from the XI payload.

In receiver File communication channel I don't see any option where we can specify the XML path for the file name.

For example:

If my inbound XML structure (inbound interface) is like below:

<filename>file123.txt</filename>

<RootNode>

<Element1>Product123</Element1>

<RootNode>

From this I need to pick the filename value and generate the output file with the same value.

How can I achieve this? Please help!

Thanks & Regards

Gopal

Edited by: gopalkrishna baliga on May 3, 2011 1:10 PM