Help files

Loop Condition

A “Loop Condition” is implemented in WinAutomation through the homonym action. Basically, Loop Condition will repeat one or more actions while a certain condition is true (for more information about conditions check “Conditionals”). Keep in mind that at some point, inside the loop, you will have to make the loop’s condition false otherwise it will keep on repeating and your Process will never end (this is called an endless loop).

Example: Suppose that you have an executable that you want to keep executing until it returns a non-zero error code. All you have to do is create a Loop Condition that will repeat a “Run Application” action while the %AppExitCode% equals to zero.

loopcondition.png