Welcome to the Alteryx Knowledge Base
Controlling the Order of Operations
Created/Edited -
How To
Procedure
The classic example is a process whereby you:
- INSERT to a SQL table where an auto-incrementing ID is applied
- Read the records back in order to get the auto-incremented id
- Insert the auto-incremented ID into a different table.
In Alteryx worflow streams that terminate (as in an Output or Render), you can't reliably use Block Until Done to control the stream. One way to reliably control the order of events is with batch macros.
Batch macros guarantee that:
- Every iteration is complete before the next iteration begins
- That all iterations are complete before the macro reports itself complete.
Additional Information
Control Containers, released in Designer 2023.1, also allow for control of order of operations. See our Help Docs for more info: Control Container Tool
Attachments
Was this article helpful?