Skip to content

Losing Routing Points - Part I. #1433

Answered by rsoika
rsoika asked this question in Q&A
Discussion options

You must be logged in to vote

It turned out that the problem was a BPMN-specific one.
It's a nasty combination of the two action events ChangeRoutingPointsOperation and ComputedBoundsAction. In BPMN, both events are necessary to compute the start and end points correctly (in BPMN, these are the anchor points on the element itself, which are not included in the routing point list of GLSP). And this was the root of the problem.

In the end, the solution was simply that the BPMN way points have to be updated already in the ChangeRoutingPointsOperation and later once again in the ComputedBoundsAction (to add the missing BPMN start/end waypoints.

Only this combination does the correct update of the GModel and the BPMN model.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by rsoika
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant