Professional Documents
Culture Documents
Best Practices p3
Best Practices p3
Best Practices p3
Version: 8.5
Focus on process, activity, message, and error IDs, but also consider events as well as gateways and their sequence flows
that carry conditional expressions. Those elements can show up regularly (e.g. in your logs) and it makes things easier if
you can interpret their meaning.
Send rejection
5 notification
Tweet rejected
No
3
4
2 Yes 7
Tweet Approval
Publish on
Review tweet
Twitter
New Tweet
6 Tweet published
Tweet approved?
written
Tweet duplicated
Handle
duplicate tweet
The following table provides you with a guideline that we would use in a context where developers are comfortable with
Java and PascalCase naming style. You may adapt these suggestions to typical naming conventions used in your
programming context.
We especially do not recommend editing identifiers in the XML directly, as it might accidently corrupt your BPMN file.
You have to keep the identifiers in the section about the graphical layout (so called "DI" for diagram interchange) further
down in sync with the execution semantics at the top of the XML.
However, we include an XML example of all those identifiers mentioned for illustration:
8 Elements in the diagram interchange section (DI) reference identifiers from above; you have to adjust them
accordingly! Camunda Modeler takes care of this automatically.
Changing IDs can potentially break your tests or even process logic if done at a late stage of development. Therefore,
consider using meaningful IDs right from the beginning and perform the renaming as part of the modeling.