Need to stop the process if there is an error by using try/catch but after completing the activity inside catch
Use Throw Activity in the Catch and let me know
Exception = New Exception(“Ended”)
Perfect it works ! Thank you
That’s Great
Use “Terminate Workflow” activity at the end of your catch block.
How i use Terminate Workflow because i need reason
same for catch block ?
Maybe it’s easier for other process
Right, You mainly have to provide values in two properties “Exception” and “Reason”.
Exception: you can pass original exception object.
Reason: your custom message about exception.
Thanks.
Exception occurred in try block which is caught in catch block.
When you add catch block, you have to specify exception object in a box on right-top of exception block.
Something like this
Okay,
If you want to specify new exception, use below syntax.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.