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 / Run PowerShell Script ...
Power Automate
Unanswered

Run PowerShell Script - Timeout

(0) ShareShare
ReportReport
Posted on by 11

Hi community,

 

Do you know any details about this feature?

BernardoNS_0-1698233242490.png


I'm using a PowerShell command to run a Python script. Our concern is that, somehow, the Python script blocks somewhere and the PowerShell action doesn't finish. We are running PAD in Unattended mode, therefore we need to make sure that the desktop flow execution is cancelled/timed-out after X hours.

 

Any ideas?

 

Thanks

 



I have the same question (0)
  • Verified answer
    Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    In order for the script to time out, you need to enable the "Fail after timeout" toggle:

    Agnius_0-1698233574269.png

     

    And then set the timeout value in seconds in the field that appears after you enable it.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

  • BernardoNS Profile Picture
    11 on at

    OMG I went directly to the advanced settings and somehow missed that toggle 😅

     

    Thanks @Agnius 

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