![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| I am experiencing a weird apparent AA bug when I place an IF/END IF within a LOOP. Currently the IF statement is false (and the only statement in it is a msgbox, which is not popping up.) Even when it's false, the program just bails out with a 'completed' status at that point and I can't see why or how. At the point that it's running here, Clipboard = "IN-PROGRESS": Loop While $Clipboard$ Not Equal To "COMPLETED" Then Delay (500 ms) If $Clipboard$ Equal To "ERROR" Then Message Box "Error condition!!" End If End Loop I tried replacing the IF with a LOOP of the same logic and it works fine, doesn't bail out of the code. And program doesn't bail anymore if I just take the IF out completely. Thanks! |
| |||
| Well NOW it seems to be working, I think I may have a timing issue with some other statements in the loop (I didn't list the whole loop, I should have.) I will post more when I figure out if I actually still have a problem or not : ) Thanks |