camunda / camunda-modeler

An integrated modeling solution for BPMN, DMN and Forms based on bpmn.io.
https://camunda.com/products/modeler
MIT License
1.49k stars 476 forks source link

BPMN Errors can be viewed (summary) and deleted individually #1982

Open MaxTru opened 3 years ago

MaxTru commented 3 years ago

This is an epic issue which may be broken down into multiple tasks, if needed

What should we do?

Currently the user might create BPMN errors (e.g., using Error Boundary Events) (or equal concept: messages, signals, ...). These created errors (again, or messages, signals, ...) will then exist on a global scope and can not be (I) viewed or (II) deleted (unless the user goes into the XML view).

With this epic we want to allow this:

Why should we do it?

There are multiple reasons why we need this.


Related to https://github.com/camunda/camunda-modeler/issues/136 Related to https://github.com/camunda/camunda-modeler/issues/861 Related to https://github.com/camunda/camunda-modeler/issues/1554

barmac commented 3 years ago

In the legacy Camunda Modeler Eclipse Plugin, it was possible to manage global objects both via selected element properties: image

as well as process properties (Definitions tab):

image

andreasgeier commented 3 years ago

FYI - I consider this in the UI Architecture topic.

MaxTru commented 3 years ago

We should do this as part of @andreasgeier overview concept. Moving it to the backlog.

felix-mueller commented 3 years ago

Just encountered this in Camunda Cloud diagrams as well. I if delete an incomplete message, the global message stays in the XML and the diagram can't be deployed to zeebe anymore.

Do we plan to work on this soon @MaxTru ?

MaxTru commented 3 years ago

Hi @felix-mueller,

@andreasgeier already prepared a concept for it as part of the reworked overall UI. It basically features a seperate DataView which allows to view (and edit/delete) all global entities (such as errors, messages, ...).

Implementing this concept however requires some dedicated OKR capacities, and from my understanding this is not the most burning topic for Q4. Can you please check with @volkergersabeck ?

If this is a burning issue for cloud and we don't plan this for Q4, then one could implement as a temporary plan B solution a behavior, that would delete all unreferenced entities (e.g., after every save).

Hope these hints help.