I used global exception handler in one of my assignment projects & found out there are two arguments present in the workflow. I did not declare any of them & confused whether to keep it or delete? Can someone please help me with this confusion.
Hi @DrDanZoro
When you implement the Global Exception Handler, it will automatically have 2 arguments that should not be deleted. Deleting them will fundamentally compromise the objective of the handler.
The argument ‘errorInfo
’ has the IN direction as it will bring the information about the exception thrown at the target into the GEH. Another argument ‘result
’ has OUT direction which contains the information on whether to retry the errored activity or not.
Hope this helps,
Best Regards.
Error Info automatically fetches exception details( when handler is auto invoked in case of exception)
And Result stores action you chose to perform in case of exception
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.