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 / automatically wake up ...
Power Automate
Unanswered

automatically wake up the computer and scrape stock prices through PAD

(0) ShareShare
ReportReport
Posted on by 235

Hi all,
I have a PAD flow that is created to scrape stock price through Yahoo Finance which works pretty well locally.

Only the problem is more than often when I trigger it from cloud flow it failed with Error Details:
Desktop flow execution failed. CorrelationId: '00000000-0000-0000-0000-000000000000'.

execution failed.png

It stopped at the middle of the Desktop Flow with activated Excel and Chrome Browser left opened means it was running successfully at the beginning but something interrupted it in the middle of scrapping.

desktop flow.png

Some more information:

I trigger this flow by schedule it through Cloud Flow (PowerPlatform) and also Schedule (Win10) my computer to auto-wake-up so that when cloud flow is triggered, there is a correspondent machine to be called.

Furthermore, to ensure the machine is always up to run during the whole process (around 15-25 mins), I made another Task Scheduler (Win10): run cmd then exit every 1 min to sort of keeping it awake. Because I've found that even at the time PAD is running, the auto-waked-up computer could still turn sleep after a short period of time (around 5-10 mins) of idling (notice: it's idling for no human interaction but PAD is still running).

 

The tricky part is sometimes it works, sometimes it fails with the error message pasted above. I'm so confused about what was happening behind the surface. How could it go wrong sometimes? And how to address this issue?

 

The main goal is just to automatically wake up the computer and scrape stock prices through PAD.

 

Thanks in advance,

Hsiang

I have the same question (0)
  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    Do you have the rights to change the sleep settings, if so, I would have your bot do that first and then set it back when you are done. 

  • chienhsianghung Profile Picture
    235 on at

    Hi @MichaelAnnis,

     

    Thank you for your reply. It was set to 30 mins and should not be the problem right?

     

    sleep setting.png

  • JAWL Profile Picture
    393 on at

    Hi @chienhsianghung I faced similar issue, have you found the root cause and solution? I have a Desktop Flow that scheduled run every 10min and it initially works to prevent my laptop auto sleep in 15 minutes of idling. However, yesterday I found my screen was put on sleep and this is because one flow failed in the middle (with the same error as yours). 

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    I apologize, I never saw this response in my notifications.  If the process takes 15-25 mins, I would change both the Screen and Sleep options to 45 minutes just to be safe.

  • JAWL Profile Picture
    393 on at

    Hi @MichaelAnnis unfortunately my company's policy does not permit to disable or change screen saver from the default 15 minutes. Any way to prevent failed flow interrupt the next flow?

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard