How to include the datetime in a file name in a destination Path field

Illustrated in the image below is a flow where a buffer is a source and it is being mapped to new fields in the Super Mapper step. The data is then being saved in a csv format by using the CSV Writer step and then being sent to a SFTP Server.

In the below image, the Path field is an example of how to include the datetime in the file name.

image

You can copy and paste the below code in your destination step or calculator step:

{@runInfo.year}{@runInfo.month}{@runInfo.day}{@runInfo.hour}{@runInfo.minute}{@runInfo.second}