AnsweredAssumed Answered

How can we catch an exception in Activiti?

Question asked by ryu on Jan 31, 2011
Hi,

The Eclipse BPMN designer has no elements for Intermediate Error Event, how can we catch an exception in the following cases:
1. An exception is thrown when trying to execute the JavaDelegate of a ServiceTask
2. An exception is thrown when trying to execute an activiti:expression of a ServiceTask.
For example: #{invoker.updatePassword()}, whereby invoker is a process variable (java class) and updatePassword() is its method.

Sygnavio modeler has a lot of very nice elements and stuffs. But when I try to use the "Intermediate Error Event" icon and write in, for example, an error code or error name, but the generated BPMN 2.0 (by Cycle and the tool at Sygnavio official web site) does not generate this information. The same for every other attribute: dataInput, dataOutput, operation name blablabla =(

Thank you very much

Outcomes