I have written a flexscript code to wait if the queue length is betweel 0 and 2. If that's true I return 1?
Is returning 1 the eight way to do it?
- if(model.find("Queue1").subnodes.length >=0 && model.find("Queue1").subnodes.length <2){
- return 1;
- }