DoWhileThis activity is used to execute an action in loop until the specified condition is met. In this activity, Boolean condition is defined after an execution of code. DoWhile activity works like an exit-condition loop i.e. block of code execution is terminated when the condition evaluates to false. Using DoWhile Activity1. In the Canvas Tools pane, click Flow Controls to expand the tool and view the associated activities. 2. Drag the DoWhile activity and drop on to the Flowchart designer on the Canvas.
3. In the DoWhile block, place the activity that must be performed based on the do while condition. 4. In the Enter Expression here field, enter the do while condition you want to execute. For example, CompanyStockPrice>1000, that implies to run the loop until the stock price of the company is greater than 1000. The DoWhile activity with a default display name is created. The warning sign disappears once you provide the required inputs. DoWhile PropertiesThe properties of an DoWhile activity are listed in the following table and can be edited in the Properties grid on the right pane.
|
Related Topics Step-by-Step Guide to Use DoWhile to Make a Loop in Automation Process
|