I have a dataset categorized by city. I send this data to a batch macro, with unique city list as the control parameter. The macro should get the data, filter it by the control parameter, do it's processing, and output a unique output file for each city.
Pretty straightforward and I've done it many times before.
Though now I'm running one and Alteryx seemingly randomly splits my output file into 2 files, time stamped 1 second apart. I've put 'wait until done' tools everywhere to try and get the workflow to wait, but nothing is working.
Each city takes a few minutes to process, so the fact the files are being output a second apart (and the formula to time stamp it is being re-run) means that the single iteration of the batch macro must be screwing up somehow and popping out 2 files.
Anyone see where my mistake is?
The input to the batch macro. All the data, and control paramter gets all uique city names (except aberdeen, that place has bad data haha)
The output of my macro should create a file name with time stamp and output the file