Global handler

Hi all

If i configure a global handler with an error action of ignore afaik after the retry count the robot will move onto the next activity, is that correct
with regards to context, if i have a sequence one with multiple activities contained within and the other which is start-job process to restart the entire sequence preceding it would this work or does the start-job have to go behind the failed one within the sequence?
If its the latter surely using a try catch block is the same with the catch using the start-process activity?

Please advise

Regards

Phil

@philwaller

Did not get the scenario but this is how global handler ignore works

Say your have a sequence with 10 activities and 5th activity failed…then if you configure ignore it starts from 6th activity ignoring the error on 5th

Cheers

understood

what i meant is

1st sequence and 6 activities
2nd sequence containing GH

if activity 5 fails in seq 1 does it trigger the handler in seq 2

it woudl be good to have a handler for an entire sequence, even if one cativity fails within the sequence

does that make sense - otherwise i may as well have multiple try catch blocks? No?

Thanks again

@philwaller

Yes so…say there is a sequence with 5 and next aother seuqence starts lets say with 6…and 5 fails…it starts from 6

Cheers

Hi Anil

gh

See attached

anyting in A-H container fails then trigger global handler

Does that make sense

so i have 10 activities in A-H, but if activity 7 fails trigger the other sequence

thats what i mean

Thanks again

Phil

Hi,

We can set single workflow file as Global Handler. So we cannot set it as Sequence which is part of workflow file.

image

I think, perhaps you should use Try-Catch in this case.

Regards,

Hi Yoichi

Thanks for your response - i understand and its very much appreciated!

Regards

Phil

1 Like

@philwaller

The functionality you need is for try catch…global handler will be a separate sequence all together you cannot add it anywhere…when some error occurs it gets triggered and depending on thw condition the global handler has multiple outcomes ofcourse one of which is ignore.

So as the names says its global not local

Cheers

Thanks all

ok, that makes sense

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.