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 / Issues running PA Desk...
Power Automate
Unanswered

Issues running PA Desktop flows from a cloud flow

(0) ShareShare
ReportReport
Posted on by 129

I have a PA Desktop Flow that automates a proprietary application to generate several Excel reports using the application UI. When I trigger the Flow locally (from the PA Desktop app), it is nearly always successful (+ 99% success rate). But when I try to trigger the Desktop Flow to run attended on my computer from a scheduled Cloud Flow, it is consistentlyh failing on UI actions (e.g., 'Click UI Element') because it cannot find the designated window(s).

 

As I've dug into this, I have noticed that the behavior of the UI element selector seems a little off. In the screenshot below, I am attempting to select the "OK" button on the 'Export Settings' window, but Power Automate Desktop records it as the 'Report Dashboard' window which is two levels up. Not sure if this is expected behavior (referencing the parent window), but it seems to work when I run the Flow locally. I feel like the window designation needs to be editable in cases where PA Desktop selects the wrong window.

 

Has anyone run into similar issues? I can pull out the UI element actions and replace them with image and 'send keys' behaviors, which at least has the benefit of working consistently. But that doesn't seem like it should be necessary if the Desktop Flow runs fine when triggered on the local machine. Thanks for any suggestions!

 

StevenWade_0-1672863096549.png

 

I have the same question (0)
  • VJR Profile Picture
    7,635 on at

    Power Automate Desktop records it as the 'Report Dashboard' window which is two levels up. Not sure if this is expected behavior (referencing the parent window)

    If while creating the application those names were given then the same name will reflect in the selectors.

    To reconfirm check the hierarchy in the selector window.

     

    Running from the cloud flow will require proper focus on the correct window and wait stages wherever necessary. So make sure you include them if not there.

     

    Once again check if everything in the selectors are correct. And if only the necessary attributes are checked/ticked in the selectors window.

     

    If after lots of above modifications still facing issues then you can also go with Sendkeys Enter on the Export Settings dialog box to press the Ok button (instead of Image automation), but that will also require to give the focus to the correct window.

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 412

#2
Vish WR Profile Picture

Vish WR 305

#3
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

Last 30 days Overall leaderboard