Timeout for XAML in Process transaction in uipath

Hi,
I have one process to execute macro, but sometimes it gets stuck for hours . I have to implement timeout for 10min if macro gets running more 10min that xaml should get timeout after 10min . please help me with formula to use in timeout .

Currently I have Timespan.Fromminutes(10).but it is not working.

Thanks in Advance

Hi Mounika,

I have tried it with parallel sequence activity i.e. the process will be stopped after specific time. You can also throw exception instead of terminate workflow activity.

array.xaml (5.9 KB)
FileInfo.xaml (5.8 KB)

Hope this helps

Hello @Kondagari_Mounika

Is it getting stuck due to the number of records? Also can you share the screenshot of the workflow and the timeout that you have set?

Thanks