In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

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
13 - Pulsar

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
13 - Pulsar

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
Top Solution Authors