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 / Navigate between varia...
Power Automate
Unanswered

Navigate between variable Window elements

(0) ShareShare
ReportReport
Posted on by 17

I am having difficulties with selecting windows on a desktop application. I am constructing an automated flow for clients desktop application. The current flow loops through an excel list of customers and opens opens menu item to select the matching account in de desktop app en returns to the main screen for the next operation. This part works.

 

Unfortunately by selecting the account the window element changes name and PA is not able to find the newly named homescreen.

I have tried several possibilities:

 

I tried making the window selectors more universal. Because most of the name of the window element stays the same, only the last part of title changes to reflect the new customer name, I changed the window element to look for the window that contains the part of the title that is constant. 

 

Secondly I tried constructing the new name as a string variable and put that inside the window selector 

 

 

 

So after the name change I used a get Window or Focus Window action to get the new window using part of the title or the newly created title string. Both are not able to recognize the new window. 

 

Thanx in advance,

I have the same question (0)
  • Cayshin Profile Picture
    332 on at

    Try editing your UI Element's selectors so the title is no longer set to "Equal" but "Starts with", then remove the trailing name from the title. This way, regardless of what name it shows, it'll still locate that window (assuming there aren't other windows open that match the "Starts with" title).

     

    In the example below, I have a window that includes the user's username, so I edit the element to remove that portion so it'll instead search based on the rest of that title.

    Step1.PNGStep2.PNGStep3.PNGStep4.PNG

     

     

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 976

#2
Valantis Profile Picture

Valantis 863

#3
Haque Profile Picture

Haque 547

Last 30 days Overall leaderboard