Create a variable called "counter". Than use "is element exist" to check if element exist and update "counter" variable whenever element is missing. Check counter variable in the loop, and fail thread if "counter" hit 3
My script need to change the threads number dynamically, e.g.: 9:00-10:00 i need 30 threads,10:00-11:00 40 threads ...
What should I do?
Dynamically increase the number of threads can not. Specify at once the maximum number of threads, and let the excess threads sleep. Or use the action "Call function in several threads".