I want to use Timeout scope activity since read pdf file activity has no timeout properties. While I test this activity via simple message box with timespan 2 seconds, it appear that the timeout scope dosen’t work because it has already exceeded 2 seconds without any timeout expection alert.
Hi @JosephLai,
You are not getting error because you are using message boxes here & the execution is waiting to receive the response on message box. Try using some different activity which doesn’t require a human interaction. You will get an error after timeout exceeded.
Hi, thanks for rapid answering.
However, the demo video of timeout scope (video link) is via message box. So I think it is not related to human-intervened activities.
Hi @JosephLai,
But you can see, A delay activity of 5 seconds is used there. I just used open browser there & it exceeded the time.
I use the read pdf text activity and set timeout span equal to 5 seconds. It ends up showing no timeout exception instead.
The Read PDF Text does not take 5 seconds to execute (depends upon file’s kb/mb size). That’s why I guess it is not throwing an error. For me the activity is executed within a second.
yes, I know what you are saying. The important is that the screen cut shows the process which only contains the timeout scope and read pdf activity did not end.
So, if it ends perfectly, the log displayed in the output section will show the end time of the process.
hi, @SHAHRUKH_PATHAN
you can see my screen recording, thanks !!
Hi @JosephLai,
Could you please add the bug tag to this as I think this is a very important activity and I would like this addressed too.
For me, I am running a script using powershell with -wait. However if the script hangs then so does my automation. For this reason I want to use a timeout activity which does not work in all scenarios.
In my case - a popup asks if I trust the script (fixable) but the activity should timeout regardless.
Hi @matt.theisen , in turns of popup, I had tried VBA in excel and set an error scenario which brings error popup message. And the timeout scope works instead.
An alternative might be the integration of start timer activity and parallel to simulate the effect of timeout scope.