Hi there, I am trying to have Alteryx loop through a bunch of records and run a SQL stored procedure on each individual record until there's no records left. Once there are no records left, go on to do something else in the flow.
I'm not sure if I'm misunderstanding the capability of Iterative macros. I've done the interactive learning one which uses a single row that changes and outputs the value at the end. But I want a macro to go through multiple lines individually.
As a test, I have attempted to create a simple workflow that goes through a set of data and outputs that data to a csv file. It starts with a set of values with a row number (which will turn into RecordID generated once I get this working), then creating a variable for iteration number, as well as a filter to check whether RecordID = iteration number.
In the attached script, I expect all the lines to be output in the final csv file, but written one by one. I've tried a few different ideas on how to achieve this but it always just goes back to only processing one line. Can anybody tell me what I'm doing wrong?