JBoss Community

Exception in custom WorkItemHandler

created by Amin MC in jBPM - View the full discussion

Hi

 

Would it be possible to get some advice on what the best way to handle the following situation:

 

I have a graph which has a signal message event which then hits a custom service node.  If there is an exception in the service node then I want to go back to the gateway where we received the signal.  I presume in my Work Item Handler i need to make sure i call the abort on the WorkItemManager for the work item node. In my handler if i encounter a problem i never call completeWorkItem but call abort(..). 

 

Is there an example out there that demonstrates how to achieve this? Or if anyone could give me a pointer that would be great.

 

 

Thanks

Reply to this message by going to Community

Start a new discussion in jBPM at Community