I have to develop a series of workflows that all create different files and then upload the output to AWS S3.
I thought I would be really smart and create a macro to accept the filename (that was just created from the workflow) and upload the file. That way the AWS credentials are all in one place - in the macro.
I've now developed the workflow that processes the data, writes the results to the CSV file and then passes the CSV filename to the macro.
I've used a "Block Until Done" to ensure that the file is written before the macro attempts to upload, I've also used the "Wait a Second" (even set it to 60) and the macro always runs before the file is created. I know that "Block Until Done" is only for records flowing through the tool, but how do I wait for the file to be created?
