-
Feature Request
-
Resolution: Fixed
-
L3 - Default
-
None
I currently try to to minimize code required to write good BPMN processes using the model API. One flaw is nugging me - if you do not provide "names" for elements, you end up with blank boxes in the graphical BPMN model:
```
flow.startEvent()
.serviceTask("retrievePayment").camundaClass(RetrievePaymentAdapter.class) //
.receiveTask("waitForPayment").message("PaymentReceived") //
```
I have to hand in a name additionally to see something on the graphical model:
```
flow.startEvent()
.serviceTask("retrievePayment").name("Retrieve payment").camundaClass(RetrievePaymentAdapter.class) //
.receiveTask("waitForPayment").name("Wait for payment").message("PaymentReceived") //
```
This is unnecessary verbose. If I want to have names that are different from ids it is OK, but we should offer the shortcut, that the id is also used as name whenever no name is given. I do not see use cases for an empty name anyway.