studio
2025.10
false
UiPath logo, featuring letters U and I in white

Studio user guide

Last updated Mar 2, 2026

The Do While Activity

The Do While activity enables you to execute a specified part of your automation while a condition is met. When the specified condition is no longer met, the project exits the loop.

This type of activity can be useful to step through all the elements of an array, or execute a particular activity multiple times. You can increment counters to browse through array indices or step through a list of items.

Note:

Do While activities are evaluated only after the body has been executed once.

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated