web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Dynamically get a list...
Power Automate
Unanswered

Dynamically get a list of records from UI to loop through

(2) ShareShare
ReportReport
Posted on by 4
I have a requirement where I need a desktop automation flow to retrieve a certain number of items from a list, loop through each one, expand two sections, and then perform a drag-and-drop operation from the left navigation panel to the right.

Here’s the setup:
 
The automation involves two panels that are already open in the foreground:
  1.Task Manager (on the left): This panel contains a list with expandable/collapsible options, organized up to 2 levels deep.
  2.Community Panel (on the right): This panel also contains expandable/collapsible options, but they can go up to 3 levels deep.

The automation process is as follows:
1. Pre-select an option from the Task Manager panel.
2. For each "community" in the Community Panel, expand the parent node, locate the "global option," expand it, and then drag and drop the selected Task Manager option into the expanded global option within the community.
 
Challenges:
1. I have tried various actions but haven't been able to dynamically count the number of communities in the right panel to loop through them. This list is subject to change, so it needs to be dynamic.
   - One workaround I've considered is not making it dynamic and instead using a Standard Operating Procedure (SOP) to manually update a static range, such as (0, 21) communities. However, ideally, we need a dynamic solution.
2. After identifying the count of communities, we need to loop through each one. However, I haven't found a way to interact with the '+' sign to drill down further because the UI elements aren't being recognized by the automation. Desktop applications seem to be more challenging to automate compared to web applications, as they lack directly identifiable elements.

Any tips or advice is greatly appreciated! Thank you! 



I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 796

#2
Valantis Profile Picture

Valantis 568

#3
Haque Profile Picture

Haque 538

Last 30 days Overall leaderboard