1 Reply Latest reply on Jun 20, 2011 5:52 PM by Sebastien Lelarge

    Process continuation in case of WorkItem failure

    Sebastien Lelarge Newbie



      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 ?