Throw BpmnError in overriden .trigger(..)-method


#1

Hello flowable-team,

as suggested here, we try to develop an Send-and-Receive-Task by implementing TriggerableActivityBehavior.

Dependent on the received answer, we tried to bind an BoundaryErrorEvent to the Triggerable activity.

While throwing a new BpmnError(“foo”) in the .execute-method works as expected, throwing the error inside the .trigger-part won’t catch the error in the boundary error event.

I found a pretty old thread dealing with the same problem - but I couldn’t find out if this problem was solved or if the workaround is still appropriate.

Are there any news regarding this topic?

Thank you for your efforts!