This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
I am have some issues get the order of execution correct. I have 5 files that are read in using a Alteryx App., Later in the flow I ahve a run command that moves the files to an Archive folder. My problem is: Alteryx will archive the files prior to reading all of them in. Sometime I get lucky and this is not a problem, but when it becomes a problem, I need to know how to set a predecessor or a run order.
I've run into the same issue with the Run Command Tool running out of the order I intend.
The solution offered by cmartin is great but if you are in a situation where the Run Command has to live inside of your module I have had success connecting a dummy input into the command tool and placing a Block Until Done in line.
In the picture below, the dummy input is just the first row of data peeled off of the data stream. I need my Run Command to execute after the .csv is written. The dummy input keeps it "in order" and the Block Until Done makes sure the file gets written before the stream continues.