Hello,
I wanted to find out if there is a way to run an Output Data tool in an Alteryx Designer workflow based on success/failure of previous Output Data tools - essentially, if the workflow runs successfully and the previous tools output data, then the final tool will also execute and generate an output.
If the workflow does not complete successfully and the previous Output Data tools do not output data, then the final Output Data tool should not execute. I would like to keep this process within a single workflow, if possible.
The following two approaches make use of batch macros, however I need to determine the best way to adapt them to fit my use case.
https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/Controlling-the-Order-of-Operations/ta-p/5051
https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/Dynamically-enabling-disabling-workflow-sections/ta-p/20142
For the first approach (Order of Operations), a potential adaptation I'd implement would be to set each container as a batch macro, run them in succession, and the final output would be contingent upon successful execution of all batch macros; I am not sure if this would be best practice.
In the example in the second approach (Dynamically Enabling/Disabling Workflow Sections), the condition has to do with the input data itself and not success/failure of previous workflow output; is there a way to enable/disable conditional output?
Please see attached screenshot of a simplified representation of my workflow, which contains four containers that need to run successfully in order for the final output to execute as well. Please advise if this is possible, much appreciated.