Hi experts,
I need your guidance on the following scenario:
My workflow does the following steps:
1-Delete all the existing files in the data collection folder (by running a batch file, RUN Before)
2-start calculations and write some CSV files to the data collection folder
3-Make a zip file with timestamp (so the file name is dynamic) from CSV files in data collection and save it in a different folder
Now I need to add step 4 to the workflow:
4-Attaching the zip file from step 3 to the Email Tool and email it.
Problem: I couldn't find a way to easily attach the file with a dynamic name to the email tool.
I tried to read the file name by the directory input tool, but it needs some delay and waiting for the zip file to be created, and I couldn't find a way to achieve that.
Any suggestion or help is greatly appreciated.
Kind regards,