Hi Guys, Contributes
I saw this examples which is very good way of Exception Handling which is there in the GitHub
Steps to Configure the ExceptionHandlingErrorExample
String eventType = "Error-code"; | |
SignallingTaskHandlerDecorator signallingTaskWrapper | |
= new SignallingTaskHandlerDecorator(ServiceTaskHandler.class, eventType); | |
signallingTaskWrapper.setWorkItemExceptionParameterName(ExceptionService.exceptionParameterName); | |
ksession.getWorkItemManager().registerWorkItemHandler("Service Task", signallingTaskWrapper); |
But is the same thing we have to do for all our tasks for the situations when using kie work bench deployment rather than standalone project how to configure the
Please let me know what is the best way to register the new Task Handler. specially the setting of the WorkItemExceptionParameterName value
thanks
Sanjay Gautam