zeebe-modeler icon indicating copy to clipboard operation
zeebe-modeler copied to clipboard

Validation / linting of BPMN workflows?

Open grexe opened this issue 5 years ago • 7 comments

Is your feature request related to a problem? Please describe.

Currently, the modeler is very simplistic and "only" offers basic workflow diagram editing (which is already really great but...:). I'd like to have more feedback on the workflow I'm designing, similar to an IDE which gives me warnings, hints, and errors.

Describe the solution you'd like

I'd like to have a way to validate my workflows with some linting plugin. In a separate notifications panel, I'd then be able to review the feedback received from the linter, e.g. missing edges, loops, recursive flows, broken flows, BPMN violations, maybe even advanced heuristics that validate my workflow based on anonymized user data from other workflows, suggesting semantic errors and improvements.

Describe alternatives you've considered

Your "deer" competitor offers some basic linting functionality in their modeler;-)

Additional context

See Eclipse, IntelliJ or VS Code for great implementations on similar features. In addition to a notifications panel, warning or error indicators should be shown as little badges in the diagram, along with quick fixes.

grexe avatar Dec 12 '19 12:12 grexe

Thanks for opening this issue @grexe.

Could you please update the issue to use our feature request template? The reason is that this will answer important questions for us such as:

  • Why would you like to do that?
  • What kind of feedback do you expect?

Thanks!

nikku avatar Dec 12 '19 13:12 nikku

@grexe does this do what you are looking for?

https://github.com/StephenOTT/Workflow-Linter

jwulf avatar Feb 03 '20 20:02 jwulf

Or is this what you are looking for?

nikku avatar Feb 03 '20 20:02 nikku

Thanks a lot, @jwulf and @nikku, exactly what I was looking for, esp. the plugin for Camunda modeler. I suppose it would work with zeebe modeler too?

grexe avatar Feb 03 '20 21:02 grexe

Yes, it does.

nikku avatar Feb 03 '20 22:02 nikku

hmmm I followed the installation guide and get no error, but I cannot see the linter anywhere in modeler...

grexe avatar Feb 04 '20 10:02 grexe

Not sure which installation guide you followed. You have to install the plug-in.

nikku avatar Feb 10 '20 08:02 nikku