on 08-25-2016 7:15 PM
Hi All,
I have a file to SFTP scenario that I am trying to use variable sub. on to pull a field out of the payload and place it in the filename. However, I also want to encrypt the file. This does not work because PI encrypts the file before using Variable Sub. Therefore is there a way to use both? If not, can you use variable sub. within the module tab?
Hello Ryan,
Dynamic config bean should help as Bhavesh suggested.
ensure you follow the sequence(Dyanmic first then encryption)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is there a reason you want to use Variable Substitution? Why not use the Dynamic Configuration and set the filename in the mapping via the Dynamic Configuration UDF?
Another alternate is to use the Dynamic Configuration Module in your receiver channel before the PGP encryption module so that it can read the data you need to and then write to the Filename parameter..
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.