Hi Team,
I've been bashing my head against this problem all day. Having read through the forums I can see I'm not the first one but I've yet to find a resolution.
Error Message:
Situation: We have an Alteryx Designer license with the Desktop Automation (Scheduler). We use CREW Macros, specifically the 'Runner' macro on all schedules that are put on the scheduler. The Runner macro is embedded into its own macro. This allows us to generate Event emails without using the event section due to a security requirement to avoid hard-coding usernames and passwords in our workflows. Everything was working perfectly... right up until I had to migrate the entire setup to a new machine due to an IT roll-out.
Alteryx Version: 2021.2.1.35394
Issue: Everything has been reinstalled and I can successfully run my workflows using the Designer through normal process. As soon as the same workflow goes on the Scheduler we get immediate errors. All Workflow Dependencies are set to UNC.
Troubleshooting:
I am assuming you checked this given the list you presented, but did you make sure to add the Crew macros as a valid macro path after your install of Alteryx and Crew on the new machine? We have ours on a shared drive so both my local and our server are running by pointing the below option to the same UNC path. I know when scheduling things on server, as part of the workflow assets, sometimes it wants to store copies of things.
Options --> User Settings --> Edit User Settings --> Macros.
I did yes. I tried installing the macros on both a network share drive (using UNC path) and also moving them onto my machine and running them from there. Same issue both time. We have found the scheduler will not work with anything that's not a UNC path. We can't even run a workflow from it's original location as it will freeze the queue.
I did determine that it's able to see the macros fine. All of our other macros are working perfectly. It's just the Runner. Something is happening with the executable and I cant determine what it is.