I have an Alteryx workflow that is an absolute mess. The tools are thrown on the canvas in no logical order, few connections are wireless, and there are so many tools (thousands), it's hard to make heads or tails of where the data is coming from and going to. That said, the workflow works just fine.
I've been tasked with cleaning it up. I made a copy of the original file and started cleaning it up by grouping tools together, making connections wireless, deleting unnecessary tools (for example, sometime the workflow flows into a Filter tool with no outgoing connection), etc. With the exception of a few formatting issues to expression editors (for example, writing each parameter of an IF statement onto a new line), no edits to the configurations of the tools themselves have been made.
Unfortunately for me, the original file was updated when I was already in the middle of the cleanup. I therefore used the compare workflow feature, added in the new tools that were added (this was easy to do as the default Tool ID number assigned to each tool was incremental), tried to configure them as best as possible, and made sure they were connected (inbound and out) to the correct tools.
Even worse is that whenever I try to run the workflow, a lot of the data doesn't flow through. Early in the process, for example, there's an Input Data tool which connects to a Union tool. Also connected to that Union tool is a Text Input tool with a single field and row of data. The data flows up until the Union, and then the Results pane says something along of the lines of "Memory limit reached".
This problem doesn't exist in the original workflow. I can't add Browse tools to the new workflow, because if further updates are made to the original workflow, that will throw off the Tool ID numbers which I use to reconcile the workflows. I've never seen this before, and I'm wondering if that means the workflow is corrupt?
Under the User Settings, I've chosen to also override the system settings to max out the memory limit. I've also unchecked the box to run Designer x64 at a lower priority. When that didn't work, I also went under the Advanced option and checked the box for "Tool Results Settings" to max out the memory limit per Anchor (I think this latter configuration made it worse).
Below is are photos of the workflow before the cleanup and some of the progress I've made (I've since made more progress). I'd hate to have to start from scratch, so any solutions would be greatly appreciated!