Amin MC [
http://community.jboss.org/people/aminmc] created the discussion
"Exception in custom WorkItemHandler"
To view the discussion, visit:
http://community.jboss.org/message/614302#614302
--------------------------------------------------------------
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
[
http://community.jboss.org/message/614302#614302]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]