How to capture exception details while handing ProcessWorkItemHandlerException in RHPAM 7 ?
Issue
- How to capture exception details while handing ProcessWorkItemHandlerException in RHPAM 7 ?
- In our process we are using the 1ProcessWorkItemHandlerException` to handle exceptions in our custom work item handler. When an exception occurs in the WIH, it start a sub-process with process id: ExceptionProcess to RETRY option to retry the WIH again, using below configuraion:
throw new ProcessWorkItemHandlerException("ExceptionHandling.ProcessID", "RETRY", new RuntimeException("Rest API failed with 403 HTTP response "));
Is there a way for us to capture this RuntimException that is thrown in our exception handling sub-process ExceptionProcess?
Environment
- Red Hat Process Automation Manager (RHPAM)
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.