camunda / camunda-modeler

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

Linting to include a warning that the process id is autogenerated #4420

Open NPDeehan opened 3 months ago

NPDeehan commented 3 months ago

Problem you would like to solve

It's very easy to build and deploy your process without ever changing the process id. The problem with that is when a user then goes to use the API to access the process or looks into logs trying to find mentions of the process it's not in a very easy to read or differentiate the ID and requires to users to have to keep looking up the ID again.

Proposed solution

The modeling linting should warn users that the ID has been auto generated and they should make it easier to read.

Alternatives considered

We could also automatically change to the ID based on the first time that the model is renamed.

Additional context

No response

nikku commented 3 months ago

I believe web modeler changes this for the first process based on the file name. I think it would be easy to pick up a process with an auto-generated ID (in Camunda scope) and nudge a user into changing it.

nikku commented 3 months ago

Adding to spring cleaning.