Skip to main content

Do While

The Do While component in Robbot RPA allows you to create a do-while loop structure that can be terminated or broken out of based on a specific condition. This loop executes the set of actions or components at least once, and then checks the termination condition to determine if the loop should continue or be exited.

Parameters

Condition : Enter the condition that determines whether the loop should continue or be terminated. This condition is typically a Boolean expression. Type: Boolean

Usage

To use the Do While component in your Robbot RPA project, follow these steps:

Open your Robbot RPA project.

Drag and drop the Do While component into your sequence or workflow.

Add the necessary actions or components within the loop that need to be executed iteratively.

Configure the actions or components within the loop as per your requirements.

Enter the termination condition in the Condition parameter of the Do While component. This condition will be evaluated after each iteration to determine if the loop should continue or break.

If the condition evaluates to false, the loop will be terminated, and the program flow will continue with the next action or component outside the loop.

If the condition evaluates to true, the loop will continue executing the actions or components within it, and then re-evaluate the condition for the next iteration.

Note: The Do While component guarantees that the loop is executed at least once, even if the termination condition is initially false.

By using the Do While component in your Robbot RPA automation, you can create flexible loop structures that allow you to break out of the loop based on specific conditions. This gives you more control over the flow of your automation and enables you to handle various scenarios efficiently.