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 / Could 'Click UI elemen...
Power Automate
Unanswered

Could 'Click UI element in Window' be made dynamic?

(0) ShareShare
ReportReport
Posted on by 1

I have file 'A' in folder. 'Click UI Element in Window' clicks on the file and opens it, in two steps. It then performs actions relating to file and deletes the file 'A'.

 

Now the loop pastes file 'B' in folder. The 'Click UI Element in Window' which worked for file 'A' no longer works for file B. Could something be done to perform the same action for file named 'B'.

 

The names of the files 'A' and 'B' are based on prices which are the exact same as prices in excel which is stored in variable 'Actual'.
Say the name of file is '21000', it will perform the action, but when the loop brings over the file named '17000' the actions will fail.

 

 

AA.png
  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Do you really need to click on the file icon? Can you perhaps use Run application and provide the file path, so that the file is opened in the default app? It should be the same as double-clicking the file in the folder. And you can provide the file name as a variable into the file path.

    -------------------------------------------------------------------------

    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

     

  • KarlPower Profile Picture
    2 on at

    Hi there, 

     

    did you manage to get the "Click UI Element" actions to work dynamically in a loop?  I'm facing the same challenge

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 245 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 233 Super User 2026 Season 2

#3
Valantis Profile Picture

Valantis 136 Super User 2026 Season 2

Last 30 days Overall leaderboard