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 / Dynamic UI Element Sel...
Power Automate
Answered

Dynamic UI Element Selector With PowerFx Enabled does not work

(0) ShareShare
ReportReport
Posted on by 36

Hi everyone,

I'm trying something simple with PAD, but it is not working when I have PowerFx enabled.

Using windows calculator, I would like to have a variable/input to choose which number should be selected.
From 0 to 9, the button ID is simple: button[Id="num4Button"]. The idea is to replace the number for the input and let the PAD  click.

Without PowerFx enabled it works, button[Id="num%NewInput%Button"]. 

With PowerFx enabled, it does not work. I'm able to test the element, it finds it. But when the robot is running, it fails.
I've tried a few combinations of code for ID, without success.
 
Can someone help me?
Kr,
RVF

  • Verified answer
    RVF99 Profile Picture
    36 on at

    Just found out that is Known issue/Limitation.

    Microsoft link: https://learn.microsoft.com/en-us/power-automate/desktop-flows/power-fx#known-issues-and-limitations

    Known issues and limitations

    • Using variables in UI element/ web selectors isn't currently supported. 

  • gauravsolanke Profile Picture
    52 on at

    Hi , 
    I need help 

    I need to automate your application using Power Automate. If the flow is successful, update the status in an Excel report as "UP" for the application. If errors occur, update the status in the Excel report as "DOWN". Additionally, send an Outlook email if all applications' statuses in the Excel sheet are "UP". I have multiple web-based applications to test and update their status in the same Excel sheet. Could you please guide me on how to achieve this?
    thanks in advance 

     

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Please create a separate topic for this.

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 229 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 223 Super User 2026 Season 2

#3
Valantis Profile Picture

Valantis 136 Super User 2026 Season 2

Last 30 days Overall leaderboard