Francesco Pietrobelli [http://community.jboss.org/people/francesco.pietrobelli] 
created the discussion

"How to handle an abortion of a work item?"

To view the discussion, visit: http://community.jboss.org/message/618385#618385

--------------------------------------------------------------
Hi,
playing with jBPM 5.1Final i realized that i was not able to handle tha 
abortion of a work item inside the process definition.
I have tried unsuccessfully to usa an BoundaryEvent thet refer an Error Event 
Definition.

basically I want the process can take two different paths after the execution 
of a work item on the basis that it was aborted or carried out, there is a way 
to obtain this behavior?

The only solution that i found is to register a listener that check, for every 
ProcessNodeLeftEvent, the status of the work item and in case of an abortion it 
signal the process instance. But in this case in the process must be included a 
path that has an IntermediateCatchEvent for handle the abortion of a task (see 
the picture below). I think this solution isn't smart and i don't like it.
 
http://community.jboss.org/servlet/JiveServlet/showImage/2-618385-16806/out.bmp 
 
http://community.jboss.org/servlet/JiveServlet/downloadImage/2-618385-16806/450-263/out.bmp
 

I also checked the chapter of BPMN2.0 spec about the execution semantics, but i 
have not found any useful information.
does any one know how to handle this situation?
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/618385#618385]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to