I have a workflow which generates an xlsx file. The file opens without an issue locally.
I initially attempted to add a piece to the workflow where the file path for the attachment was passed along to the email tool, and the email sent out an email including this newly created file. All seemed to work until I tried to open the file and it was corrupt. I thought maybe it was a timing issue where it was trying to send the file while it was still being saved. I used CrewMacros Parallel Block Until Done tool so that stream one generated the file and stream two emailed the file. This did not work. I then added a 10 second wait after the file was created to begin the output of stream two which is the email. File still corrupted.
I then created a unique workflow and ran it after the other workflow was complete. Still an issue.
Any idea what could cause file corruption on an emailed xlsx file when locally the file is fine?