-
Notifications
You must be signed in to change notification settings - Fork 471
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warn about missing BPMN Shape #4277
Comments
We could get this for free if we enable Otherwise this can be achieved via a plugin: https://github.com/camunda/camunda-modeler-custom-linter-rules-plugin |
@barmac Lightweight alternative to be considered: Add only the |
Moving to |
Problem you would like to solve
I was not warned by Modeler that the diagram was missing a BPMN Shape for a process element.
Specifically, there was no
<bpmndi:BPMNShape>
for this:Proposed solution
Warn the user with a problem stating that the process model has an item not visible in the diagram, and which item.
Alternatives considered
Pay really good attention to the XML :)
In all honesty, another option is for Zeebe to reject models where the visual diagram does not provide a shape for each element in the process. There are several issues with this:
Additional context
I investigated a process instance that unexpectedly had an extra token after a parallel gateway. This made us think we had a bug in the engine.
After detailed root causing, I discovered that Zeebe executed the process instance correctly. There was a rogue Sequence Flow by passing the Parallel Gateway in the bpmn process (XML), but the visual diagram did not contain a BPMNShape for this item.
The text was updated successfully, but these errors were encountered: