I have an iterative macro I’m running inside of a workflow. In the workflow the input Data is reading from spreadsheet of 300 records. I’m running an iterative macro because I can only process 100 records at a time. I using a custom macro named JSON build to build a JSON array and make the API call to return the data. I’m running into problems when I try to run over 300 records from the spreadsheet. If I have 300 records then it should run only 3 iteration and finish. I’m running into problem where the iteration goes beyond that and increases the iterative records remaining. That’s the part I do not get. Shouldn’t the iterative records remaining getting smaller as with more iteration? It will get stuck around 5th loop and never finish the iterative macro. I can run the iterative macros with 200 records and it will finish in 2 iterations. Attached are the screen shot and the files. Has anyone run into a similar issue? Any suggestions?
I’m using the custom JSON build tool because I’m noticing the JSON build tool Alteryx has does not clear out the data after each loop.