web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Unable to click a butt...
Power Automate
Unanswered

Unable to click a button on a screen

(1) ShareShare
ReportReport
Posted on by 40
Good day, 

I have two subflows inside of a main flow. In both I press a specific button on a side nav bar which is a hyperlink.

In subflow A this works perfect every time, however, in subflow B the same action does not work in the production environment (it worked perfectly fine in the testing environment).
 
Both subflow A and B come from the same screen and I cannot think why subflow B fails at this button press but subflow A works.  

The flow works on Chrome on a windows VM. It is triggered from a cloud flow. I have attached a file with the error message from the cloud flow in it if that helps at all.

Any help would be greatly appreciated. 
Thank you 
I have the same question (0)
  • Suggested answer
    eetuRobo Profile Picture
    4,175 Super User 2025 Season 2 on at
    Elements in different environments usually have some differences in them. Some attributes like name or id might be different.
    So recapture the button in production and use that in the production flow. 

    You can edit the captured element in PADs UI selector window. Open the element in Edit :


    Then try to find elements attribute value that might be different in test and prod environments. Like for example if this would be a test environments button:


    And this would be prod environments button:


    Then it would be clear why the flow cant find the button in prod environment since its trying to find Id that has "test" in it when in prod it has "prod" in it. So you would need to change the Id to match the prod value or toggle the Id attribute off.
  • Sean95 Profile Picture
    40 on at
    Hi @eetuRobo Thank you for your response. 

    I have already tried remapping the button in prod and have edited as you suggested. This did not resolve the issue. 

    As I stated in the original question the button does work in prod from the one subflow but a different subflow (called by the same main flow) does not work. 

    I hope this clarifies the issue 
  • Suggested answer
    eetuRobo Profile Picture
    4,175 Super User 2025 Season 2 on at
    Can you show some screenshots of the flow and the ui element?

    Check that the browser instance is correct in the "Press button on web page" -action in the subflow that fails.
  • Sean95 Profile Picture
    40 on at
    Hi, sure, I have attached some images.





    Here is the button I am trying to press, circled in red.



    This is the subflow that is failing.



    This is the subflow that is working. 
  • Suggested answer
    eetuRobo Profile Picture
    4,175 Super User 2025 Season 2 on at
    I would double check that hose are actually the same element. Elements can be named the same but be different elements. Like you can see:


    If you can show the element in edit. Also when the flow fails try pressing the Test button to see if UI selector can find the element.


    Also as I suggested check that the browser instance is the same/correct one in the action that fails.


    It might not be able to find the element even if its the correct one if you are referencing wrong browser instance that doesn't have the instance that the button is in.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 463 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 427 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard