[jboss-user] [jBPM] - Process continuation in case of WorkItem failure

Sebastien Lelarge do-not-reply at jboss.com
Mon Jun 20 22:11:46 EDT 2011

Sebastien Lelarge [http://community.jboss.org/people/slelarge] created the discussion

"Process continuation in case of WorkItem failure"

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


I am facing curious behavior with the jBPM engine. (jBPM version = 5.1.0.CR1)
I am working on a process definition that involves a User Task and an "Email" workitem. (see the PNG)
Once the process is started, the workitem is launched and the User Task is instanciated. in order to trace activity of the engine, I have a script task before and after the user task.
the problem is the following : when the email workitem fails (e.g smtp server not available), then the process doesn't continue after the User task completion. If email is sent correctly, the process continues OK.

How can I trap the Exception for the WorkItem and make the process continue if I want ?


Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110620/8e9c101b/attachment-0001.html 

More information about the jboss-user mailing list