Skip to Content
0
Mar 04, 2009 at 06:13 AM

Variable substitution not working for dynamic file name in Receiver File CC

274 Views

Hi Experts,

I am doing the scenario of Proxy sender to File receiver and my purpose is to Create the text file

as per the filename available in Source Message payload.

I am using the Variable Substitution method for this as shown below.

Source Message Structure:-

<Row> -


having Cocurence 1.1

<Filename> -


having Cocurence 1.1

<Item> -


having Cocurence 1.Unbounded

<Field1>

<field2>

<Item>

<Item>

<Field1>

<field2>

<Item>

<Row>

Target structure is same as the source structure and i have mapped the Filename field of the Source

with the Target structure Filename.

In ID the following is the File receiver CC Configuration.

File Name Scheme:- %Dyn_filename%

In Advance tab, I have selected the Enable option and added one row as Variable name %Dyn_filename%

and Reference as payload:Row,1,Filename,1

In testing I am getting the Error as 'variable Dyn_filename is not found in Message payload'.

Please suggest me.

Regards,

Jagesh