I have a workflow that outputs to 5 different ranges within the same .xlsx file.
I get an error that says "Unable to create backup of ****.xlsx to ****xlsx.bak: Access is denied. (5)" only when running the workflow on the Alteryx scheduler. When I run the workflow manually, it runs successfully without any errors.
I have tried several things in attempt to solve this issue but none of the following have seemed to work:
- Wrote a script that runs before the workflow starts, that deletes the .xlsx.bak file
- Added Block Until Done tools, so that all outputs will not output at once
- Added Wait A Second, so that all outputs will not output at once
- Broke the workflow into 5 different workflows; one for each output
- Changed the Runtime configuration, so now "Use AMP Engine" is enabled
- Created a new .xlsx file and file name for the output. This resolves the issue for one scheduled run, but I continue to get the error for subsequent scheduled runs
Any thoughts as to what may be causing this error or what could resolve the issue?