I need to create a macro that checks a value in a table. Example of the value 0 and 1. When it is 1, execute a workflow and when the value is 0, do not execute the workflow.
Hi @jcastro,
I am not sure what your workflow looked like because it wasn't packaged but I have attached a packaged workflow for you to review.
If you have any questions about packaged workflows see the following links.
https://help.alteryx.com/2020.2/AlteryxFiles.htm#YXZP__Packaged_workflow_
https://help.alteryx.com/2020.2/ModulePackager.htm (Export a workflow)
Thanks,
Michael
Hi @jcastro
You can use the attached macro. You just need to map the indicator field and change the runtime settings to stop the workflow on Error.
Let me know if you have any questions.
Best,
Hi @michael
Thanks for the solution. I was just confused where the workflow would go to run?
jcastro
you need conditional runner macro, you can find it under crew macros