Microsoft Power Automate, is a software by Microsoft for automation of recurring tasks. It is part of the Microsoft Power Platform line of products together with products such as Power Apps and Power BI. More Details https://powerautomate.microsoft.com/en-us/
Desktop flows are the existing robotic process automation (RPA) capabilities in Power Automate and enable to automate all repetitive desktop processes. More Details https://docs.microsoft.com/en-us/power-automate/desktop-flows/introduction
Loops are used to automate repetitive sections of a flow by executing a block of actions multiple times.
Reading this article, you can learn how to use Loops Action in Desktop flow using Microsoft Power Automate.
The following important tools are required for developing Microsoft Power Automate,
- Windows 10/11 (Recommended)
- Power Automate Desktop - Download the Power Automate installer
Now we can discuss step by step App development.
Step 1
Open Microsoft Power Automate -> New Flow
Next, give the Flow name as PADLoops. Click the Create button.
After that, we are able to see the Desktop flow,
Step 2
For testing Loops action,
First, add the Create new list action,
Set the Variables produced parameter as %LoopList% in Create new list action and click Save,
Next, add the Loops action,
Set the Start from parameter as 1, End to parameter as 100 and Incremented by 1 in Loop action and click Save,
Next, Add the Add item to list action,
Set the Add item parameter as welcome to C# Corner, Into list parameter as %LoopList% in Add item to list action and click Save,
For displaying result, add the Display message action,
Set the Message box Title parameter as Loop Display, Message to display parameter %LoopList% in and click Save,
Now, Save the PADLoops Desktop Flow,
Step 3
Now we can run your PADLoops Desktop Flow in Microsoft Power Automate, and the output of the PADLoops is,
Summary
Now you have successfully tested Loops Action in Desktop flow - PADLoops in Microsoft Power Automate.