We use kie-server and all the client application is using the remote client via REST API.
For Exception Handling we want to use SignallingTaskHandlerDecorator, configured in the
<work-item-handler> <resolver>mvel</resolver> <identifier>new org.jbpm.bpmn2.handler.SignallingTaskHandlerDecorator(com.test.TaskWIH.class, "Error-Task-errorCode")</identifier> <parameters/> <name>test</name> </work-item-handler>
This is a custom task and with this configuration, the WIH gets called, and when it throws an Excpetion, the error signal is caught. But now the issue I have is, on retry the signal is not caught.
I need to set the
exceptionCountLimit parameter of the
I know how to do it programmatically, but as this is a remote client. How do I set the jbpm SignallingTaskHandlerDecorator exceptionCountLimit in the deployment descriptor or within the workflow scripts at run time?
- Red Hat JBoss BPM Suite
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.