flowable-engine icon indicating copy to clipboard operation
flowable-engine copied to clipboard

Boundary Error Event properties import issue

Open aplatakis opened this issue 3 years ago • 0 comments

Issue: After bpmn diagram import to modeler UI Boundary Error Event properties are dropped

Cause: Json converter implemented in that way so that if error code is not set, then all properties are ignored

Details: Modeler export works fine and exports all properties regardless if error code is set or not. Workflow application works in the same way and regardless if error code is set or not, it uses all set properties. Issue occurs only on diagram import to modeler UI. There are two scenarios how to use boundary error event based on BpmnError code:

  1. Add error code for boundary error event and flowable based on that will do navigation. For that solution multiple boundary error events are needed and this makes diagram hard to read. Negative side - all possible error codes need to have boundary event added
  2. Do not add boundary error event error code, but store BpmnError error code as variable and based on that design decisions using gateways.

Solution:

Json converted updated to match export and flowable behavior

Unit tests: NA Documentation: NA

aplatakis avatar Mar 10 '22 07:03 aplatakis