I have a set node in the workflow that returns more than 1 item. I need an execute node to iterate through this list of items and run a script. I am not able to figure out how to create the loop.
Below is a screenshot of the list of items from the set node. I need to iterate through this list and run the execute node on the value of “queryString”.
Normally the nodes will loop anyway so if you have had 5 results coming out of one node the next node would also run 5 times once for each input, if you wanted a bit more control through take a look at the Split in Batches node.
As @Jon mentioned, your exec node should execute as many times as there are data items coming into it, so you shouldn’t need the split in batches node.