Is there any way to ensure that data has been returned (or an error generated because there is no data to get) before progressing to the next line of code inside a Count from 1 to x loop?
I thought that the ‘when Get is done’ would cope with it, but in the code that I have written I get missing data nine times out of ten even when I use a Wait block. I’m not sure if this is the best way to show the code:
My loop is normally between 7 and 9 iterations and including the Wait command I get a 75% success rate; without it I get a 5% success rate for all of the data. I can improve the success rate by extending the delay, but ideally I don’t want to build in a long wait to retrieve everything.
Any help much appreciated!