studio-web
latest
false
- Release notes
- Getting started
- For administrators
- RPA workflow projects
- Creating an RPA workflow from an idea
- Creating a project
- How to start an RPA workflow
- Managing project files and folders
- Connecting RPA workflows to your accounts
- Configuring activities
- Managing the activities in a project
- Passing values between activities
- Iterating through items
- Managing the data in a project
- Configuring a project to use your data
- Using file and folder resources
- App projects
- Agentic processes
- Agents
- Solutions - Preview
- API workflows - Preview

Studio Web User Guide
Last updated Sep 22, 2025
Using the Do While activity
linkTo add a Do While activity to your workflow:
- On your API workflow designer canvas, select the plus (+) icon. The Add activity menu appears.
- Select Loop, then Do While.
- In the Properties panel, configure the following fields:
- Condition—Use the Expression editor to specify the condition evaluated after each iteration. Usually, this condition references data from a previous API response.
- Limit—Specify a number or combine context and workflow data to set a dynamic limit for loop iterations. This helps prevent excessive iterations, handling large data sets, or avoid infinite loops.
- In the Body of the Do While loop, add the activities to process the items.
- Use the Break activity to exit the loop early. Place it within an If activity to conditionally break the loop based on a defined condition.
- Test the workflow to execute the activity and generate output fields for later use.