How to capture exception details while handing ProcessWorkItemHandlerException in RHPAM 7 ?

Solution Unverified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content