Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Accessing remaining records from an iterative macro

oracleoftemple
9 - Comet

I have an iterative macro that I have set to loop no more than 10 times.  Not every record will exit the loop - there will be some remaining records after the 10th loop.  I'm trying to access those remaining records in a separate output, but I cannot figure out how to get them out of the macro.  Any ideas?

3 REPLIES 3
SPetrie
12 - Quasar

Make sure that you have "Output left over records" selected in the interface designer.

The records that dont come out the main output anchor will be placed in the secondary output anchor.

SPetrie_0-1683641936636.png

 

oracleoftemple
9 - Comet

Ok and will that come out the same output (Exit), or would it come out the Loop node?

SPetrie
12 - Quasar

It would come out of the iteration output.

I attached a simple workflow/macro with the example that only numbers 0-9 to come out the main output and uses the iteration output for the leftovers.

SPetrie_0-1683644291545.pngSPetrie_1-1683644308904.pngSPetrie_2-1683644326588.png

 

Labels