Invoke API when Global Handler is called

Hi. Is it possible to invoke a certain API whenever a Global Handler is called?

I would like to inform my API whether a process has failed.


Sure, why not?

Try calling your API with the HTTP Request Activity.

Cheers, Lukas

1 Like

Hi. Do I still need to throw a System.Exception?
Can I make it so that whenever it automatically stops or encounters an error, I just call an API?

You can call the API inside a Global Exception Handler as you mentioned in your first post. It gets triggered on an execution error. There is plenty of information on the forum or read the documentation and check out the sample workflow provided by UiPath:

Cheers, Lukas