cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic file Name with Hard Coded Prefix for pass thru Scenario!!

Former Member
0 Kudos

Hello Experts,

     My scenario is file to file pass thru scenario with out using ESR. PI picks the file from FTP server of legacy system. Now my requirement is PI needs to write the file name as hardcoded value as prefix followed by Sender file name.would request to kindly help on any standard way of doing the same.

Also i have checked the ASMA parameters in Sender file channel and receiver channel. But PI is ignoring the hardcoded value and writing only with the sender file name.

Here is the below screen shot of the same of communication channel.

Here is the message log screenshot!!

kindly help on the same!!

Many Thanks,

Best Regards,

Prashanth Bharadwaj Ch.

Accepted Solutions (1)

Accepted Solutions (1)

manoj_khavatkopp
Active Contributor
0 Kudos

Prashant,

You can achieved this using combination of DynamicConfigurationBean+variable substitution. No need of ESR objects.

Br,

Manoj

former_member186851
Active Contributor
0 Kudos

Manoj,

Can you explain how it can be done.It will be great to know.

0 Kudos

Hi Raghu/Prasanth,

Go thorough the following link:

make sure you use small letters fname in variable substitution

Regards,

Umamahesh.

Answers (2)

Answers (2)

Former Member
0 Kudos

HI Mahesh,

     Hope you are doing good!!! Thanks alot for the reply. I have implemented the same as per the link. Perfectly my scenario is working.

Thanks alot for the response!!

Many Thanks,

Best Regards,

Prashanth Bharadwaj Ch.

former_member186851
Active Contributor
0 Kudos

Hello Prashanth,

Since you have enabled ASMA the filename mentioned in the channel will be ignored.

The sender filename will be used for the receiver file name.

Guess if you wish to hardcode any value mapping and ESR objects are necessary.