Hi - Hopefully a simple question here. I have a workflow that updates two batch scripts. I want to the workflow to run these two batch scripts upon completion. However I want them to run in a certain order. In the Events tab of the workflow, I've added them both as "Run Command...", "After Run Without Errors" events. Can I assume the functionality to move the events up and down in the pane controls the order they are executed? I need the first event/batch script to completely finish before the second event/batch script is executed.
Solved! Go to Solution.
@brendan_gunn yes, this is correct, the order of the events dictates which executes first
You can test this out with a couple of batch files. Use a script with a pause in it like this:
@echo Time: %date% %time%
pause
Then copy this file and make a change to the echo line just so it is a bit different in what you see in your command prompt. Add both of these batch files as scripts and then run your workflow. You will see that when the script hits the pause it waits for you to hit a key and exit the script before the second one starts.