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 / How to use the UI sele...
Power Automate
Unanswered

How to use the UI selector when a link changes based on the user input?

(0) ShareShare
ReportReport
Posted on by 52

Good Morning!

I'm working on automating a process that identifies when an application goes down and automates the steps to fix it.

The short version is the following:

  • The process goes down - an email is dispatched letting me know the name of the process that's having an issue.
  • A Power Automate Web Flow identifies that notification email and deposits the information into an Excel workbook.
  • The information that's deposited into the workbook is the: Timestamp of the outage, Client name, etc.

Everything up to this point works fine.

 

However, I'm not sure how to fix the following issue:

 

1.jpg

 

The flow can navigate to this point, but the client name (the arrow is pointing at it) changes based on what the client name was from the initial emailed notification. Due to this, I can't just set the UI element in PAD because:

2.jpg

 

The name of the client will change. In the past, with Selenium, I would use an XPath expression and then pass the variable "client_name" into the XPath expression to make it dynamic, but I don't think I can do that in Power Automate. If I used the above-illustrated UI element, it would fail when a different client name was used since this UI element appears to be specifically for this one client.

For elements on a web page that can change based on the user input - like search results, client names, etc. How can I use Power Automate Desktop to select that element? Or better yet, how can I use my Client_Name variable to make sure that the correct client is selected?

Of course, any and all input is greatly appreciated!

I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @Kmmille25 

     

    Is it a attribute value in which client name is stored ?

     

    If possible could you show selector ?

     

  • Kmmille25 Profile Picture
    52 on at

    Hi Nived,

    I haven't been able to test it yet, but I was able to find where I can have more control over the UI elements by going to the UI Elements section on the right side of PWD and editing the specific element. I'm hoping that the following works:

    1.jpg

     

    Although, I'm not sure what the "selector with recapture" section does. I've never had to use that.

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @Kmmille25 

     

    You can specify multiple selector using selector with re capture option and thus those work as default selector fails 🙂

     

     

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 411

#2
David_MA Profile Picture

David_MA 300 Super User 2026 Season 1

#3
Vish WR Profile Picture

Vish WR 291

Last 30 days Overall leaderboard