How to handle WorkflowTerminatedException

Hi all,

I have used a Terminate Workflow activity in my sequence. I would handle the “WorkflowTerminatedException” exception, but I can’t. I surround Terminate Workflow activity with Try Catch activity and in “Catch” block I insert a WorkflowTerminatedException exception, but still i get popup in photo.
As mentioned in previous post, I set activities as Private, but the result is the same.
Please help me!

Thanks.

Hi @Roberto_Martone

Welcome to our UiPath Forum! :slight_smile:

It will work if you have the activity inside of the invoked workflow and you place it in the Try of the Try-Catch.

1 Like