Invoke PowerShell - How to Ensure it not takes more than 20 Mins : Control will not come back to UiPath until it completes the execution. This Script can take more than 3 or 4 hours.
Invoke PowerShell - How to Ensure it should not keep on running more than 20 Mins : Control will not come back to UiPath until it completes the execution
Hi there @devKarthikeyanR
You are right. The powershell will call the script and the control lies with it until its completed. Personally I wouldnt venture into finding a workaround through the tool, rather go with code in the script that will limit the run-time.
I have had success with the following stack-overflow page, do try it and get back whether it is what you are looking for
Link _ How can you set a time limit for a PowerShell script to run for? - Stack Overflow
I will try this. Thanks for your support.