Forum Discussion
Hi @Sahil ,
You can use JSON Splitter in order to split the array and then perform a Join with the other array.
Also, it is recommended to use the Sort snap before joining the data.
BR,
Marjan
i tried json splitter but I am not sure of the json path for both id and header.
- Aleksandar_A2 years agoContributor III
Hello DMG,
One way to achieve this, is to wrap the File Reading and Encryption process in a child pipeline and from the Parent Pipeline you will pass the $Name field coming from the Directory Browser as a Pipeline Parameter. This will enable global access to the File Name in the child pipeline and you can use it in the File Writer Snap to set the final file name.
Or, you can use the Encrypted File name property in the PGP Encrypt Snap to set the file name coming from the File Name pipeline property, thus you will have to pass the $[‘encrypted-filename’] to the File Writer Snap as in the example in the docs.
Please refer to the attached skeleton pipeline for example, and let me know if this helps you! 🙂
Regards,
Aleksandar.
Related Content
- 4 months ago
- 3 years ago
- 3 years ago