Open danielriedmueller opened 4 days ago
I think this is a great proposal for a rule, thanks for sharing :star_struck:
While the rule may be useful, I'd rather not include it in the recommended ruleset. There can be multiple exceptions, e.g. for outcoming flows of an exclusive gateway:
I think we'd be just fine if we whitelist outgoing flows.
We also want to whitelist labels on gateways and throw events:
No Duplicate Names (no-duplicate-names)
A rule that checks, whether two elements have the same name.
Example of incorrect usage for this rule:
Example of correct usage for this rule:
How does the rule improve the BPMN diagram?
With unique named elements, each element could be recognized by a human (IDs are not human friendly readable) and for further processing, like unique description pages for each element with nice titles.
Rule Details
error
What alternatives did you consider?
In our project, we need to have each elements name be unique. The unique ids are not human friendly readable. Alternative would be to auto rename name, if same name already exists (this would be the workaround in our project). Our project if you are interested: https://www.mediawiki.org/wiki/Extension:Cognitive_Process_Designer