Skip to Content
0
Former Member
Apr 28, 2014 at 08:47 PM

Variable substitution for Dynamic filename

225 Views

Hi All,

my Scenario is Proxy to file. and the receiver file should be a zip file of extension .dat.gz.

In mapping I tried as below. In signature I used one sender and two receiver messages.

SENDER: RECEIVER:(2messages)

MT_Product MT_Product

-----Row ---------Row

---------field1 -----------field1

---------field2 -----------field2

---------field3 -----------field3

MT_Poduct_1

--------field5

for field5 I mapped current date and I am trying to use it in Reciver file communication channel. will that be correct to use?

In receiver communication channel the file name is Product_%field5%.zip I used

and I used Module Configuration for content conversion and Zipping the file.

In variable substitution I used field5 for dynamic date.

field5-----------

payload:Messages,1,Message2,1,MT_Product_1,1,field5,1

Module Confuguration:

Guys! am on right path????? will this be possible????

Attachments