I would like to run an EXE, passing each of the two-letter abbreviations of the fifty states to an executable.
In other words, I want to run an executable 50 times, once for each state, passing that state as a command line parameter.
I can put the fifty states into any form that is needed.
How might I go about doing this? Obviously, I’d prefer to use a for loop, but I’ll do whatever I need to… Veeva Systems
Hi Nick,
I have put together an example of how I would approach this.
It uses a List Iterator action (a higher level for loop over a list), which places its current loop value into the variable selected in its dialog. Then as a child action of this I use a Execute Program action. This then executes the program I am using (in my case cmd.exe) passing the command line options required plus the value of the loop variable.
Let me know how that goes. __31705__0__StatesListInterator.fbp7 (22.016 KB)
Jason –
Perfect – thanks so much.