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 / More than one selector...
Power Automate
Unanswered

More than one selector in the UI-element can make the flow fail.

(0) ShareShare
ReportReport
Posted on by 44

Hi microsoft a have a scenario where more than one selector in a UI-element can make the flow fail.

 

see attached file.

 

Greetings

Krisitan

  • AS-06081019-0 Profile Picture
    1,738 Super User 2024 Season 1 on at

    @kriho   Try to customize the selector, use unique ID, or see which selector is unique and dynamic.

     

    Let me know if you need any assistance.


    Thanks
    Ankesh

  • kriho Profile Picture
    44 on at

    Hi Ankesh_49 the scenario was working before updating to 2.31.105.23101

    I believe the new update has an error if you have more than one selector in a UI element the flow could fail.

    Thanks

    Kristian

  • CU22072134-2 Profile Picture
    on at

    I've been having a similar issue lately with a fairly simple subflow that had — until a few days ago — worked almost flawlessly for months, and I think something in the latest PAD update might be causing the problem. 

    It's only a minor part of a PAD program I use for automating my shipping process, and all the subflow really does is open the current order that was just scheduled for shipment (in a new tab, which I think is the issue here), updates the shipping date, inputs the tracking number, and pulls up the print prompt for the packing lists. Then it closes the tab and exits the subflow.

    After the update though, it could no longer find the UI element that contains the current order reference (which is the second step of the subflow). I assumed at first it was the company that provides the web invoicing interface messing with their HTML labeling again, but nothing had actually changed and when editing the flow and running the new UI selector tester, it'll find the element via the reference just fine. 

    Someone else that was struggling with getting UI identifiers to work (but with data extraction) mentioned that the problem they had went away after they stopped it from opening the website in a new tab. Out of curiosity, I changed my subflow to just open as a new browser instance instead of a tab attached to the current one... and it worked all day without a hitch. It's a little slower than before, but at least it was a quick fix that'll be easy to reverse if it's really just a matter of something going awry in the update.

  • spmofulton Profile Picture
    66 on at

     

     

    Thanks @Beavz0r , I had a similar issue but thing started working when I used sub flows, I am not sure why though generally though.   

     

    I have noticed that power automate seems to have issues with selecting element in an iframe.   For some reason power automate is not recognizing embedded UI elements.  I have noticed this when trying to use UI automation.   If you try to record a UI automation for a web browser (instead of the web browser actions),  Power Automate gets stuck recognizing seeing the webpage elements, but only the entire document.  However, you hit the UI automation for selecting attributes of elements... then it selects for some strange reason.
     So what I did was I "hacked" (literally played around with) the url for the iframe until it allow it load in allowed me to view the embedded element (as its down webpage) in a new tab or the same tab. 

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 130

Last 30 days Overall leaderboard