Hi. The process I’m automating involves saving files into separate folders, and this process sits in a while loop until a boolean becomes true. I would like the name of each folder to update with every iteration of the while loop and add a number to the folder name each time. I’m not sure how to incorporate list and number variables with a calculation to achieve this. Thanks!
You could use a counter that increases +1 in each loop. Then use the join text action to join the folder name or file name with that counter and save the result into a new_filename/new_folder name variable.
Hi. Thanks for the response. How would I create a counter variable? I understand the logic but I’m not sure exactly how to create it.
create a variable of type number and call it “counter”
Then use that variable within the loop with expression value action: counter=counter+1