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 / Can we control the run...
Power Automate
Unanswered

Can we control the run state of an entire desktop flow through the cloud?

(0) ShareShare
ReportReport
Posted on by 113

My desktop flow is scraping some data from an offsite industrial machine, and the production staff need to still be able to interact with the machine reliably. My desktop flow is triggered to start from a cloud flow via a timer in my Power App that runs every 30 minutes.

 

I would basically like to add "Pause" and "Restart" buttons in the Power App so that production users could make adjustments without my scraper routine taking over while they are trying to do their job.

 

Is this possible at all? Is there a way to control the entire run state of the flow? For example, could I use the "Pause" button to update a variable via a second cloud flow that would pause the desktop flow and wait until it sees the variable change back?

 

I don't think I could simply set up another desktop automation to be triggered to pause the run, as I don't think there's a button I can press to do that outside of the editor.

 

The only other solution I can currently see is to figure out a way to put an "if this variable is true, continue, else wait for the cloud flow to set the variable back to true" step between each of the 250+ steps in my desktop flow, which I'm not even sure would be possible, unless there is a "wait for variable" function I'm missing.

I have the same question (0)
  • lbendlin Profile Picture
    8,726 Super User 2026 Season 1 on at
    My desktop flow is scraping some data from an offsite industrial machine

    You may want to consider using a native app for these activities, one that doesn't depend on screen scraping, and one that can "phone home" all by itself.

  • skelecopter Profile Picture
    113 on at

    That would be ideal and is very possible, but our hardware vendor is absolutely terrible and doesn't know how to/doesn't want to set up native logging within the control software for us, and we can't even get access to the needed software to make our own changes.

     

    Even if I cannot pause the flow while it's running, I can still pause the timer that triggers it to run, so I think that will be okay in the absence of other options (like the money to get a new vendor!)

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

#2
11manish Profile Picture

11manish 164 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 138 Super User 2026 Season 2

Last 30 days Overall leaderboard