Putting time to a project

workflow
studio

#1

Hello.
I have a project that finishes its execution approximately in 20 minutes and I want that if not finish in 30 minutes, stop the project and kill the Uipath process and Excel for example.

Does anyone know how?


#2

Hi @Darkbrix
You can use delay until time activity
Thanks
Ashwin.S


#3

Hi @Darkbrix,

Try this way,

create New Xaml File(Test.xaml)
in that create Parallel activity in that
use invoke method to call your Main xaml file there you can return success Boolean value.
create one more sequence in the test xaml put delay for 30 min. then check if condition the Boolean value is true don’t do anything if not kill the process

Refer this xaml file
Test1.xaml (7.3 KB)
Main (1).xaml (7 KB)

@ovi provide if any other way to achieve this one

Regards,
Arivu


#4

Interesting.
But in the solution provided, won’t the Robot run for nothing for the last 10 min when the process finishes in 20 mins, @arivu96 ? May be we should put it in Pick Branch instead of Parallel?

Modified a bit of @arivu96’s Test1.xaml:
Test1.xaml (10.9 KB)


#5

Hi @Darkbrix,
use this
Test1 (3).xaml (11.3 KB)

Regards,
Arivu