I have a flow where we write a flat file out to an archive before sending it to a customer. As of right now I have the filename hardcoded in the writefile service step (filename.txt). What I’d like is to have the file written out as filename_20200407.txt. What’s the easiest or best way to have the “_YYYYMMDD” added to the file name?
Thanks in advance,
Damon
Hi Damon,
please check the IS Built-In-Services Reference for services under pub.date-Folder.
After creating the date with one of these services you can map it to the writeFile service by using “Perform pipeline variable substituion” on the map.
The Input should then look like “filename_%date%.txt” where date is the output from the previous date service.
Regards,
Holger