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
--------------------------------------------------------------
Hi,
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 ?
regards
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/611082#611082]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]