AnsweredAssumed Answered

BpmnError on TaskActivitiBehabior signal

Question asked by gastonscapusio on Apr 17, 2014
Latest reply on Jun 27, 2015 by pmesmeur
Hi,

I'm using Activiti 5.13 and I've some problems catching BpmnError on signal method.
If I throw BpmnError on execute it works fine, but if I throw it on signal method the exception is propagated and not catched in the boundary error defined on the Task.

Is it posible to throw BpmnError on signal method?

This is the boundary error definition…
<blockcode>
    <serviceTask id="findWebServerIdTask" name="Find web server id" activiti:class="com.xxx.FindIdTask">
    </serviceTask>

    <boundaryEvent id="boundaryerror1" name="ErrorFindWebServer" attachedToRef="findWebServerIdTask">
      <errorEventDefinition></errorEventDefinition>
    </boundaryEvent>
</blockcode>

Regards,
Gaston

Outcomes