BPMN normally differentiate between id and name (e.g. process definition, activities, flows, ...). Most of the time jbpm only knows one field, so we have to decide to use id or name.
What do you think?
I would prefer to keep the ID and add the name as description wherever possible. Since the id maybe referenced somewhere, it should be kept...
And e.g. for the ProcessDefinition the ID is used as key and the name kept.
in the runtime engine we should parse the id and use the id. a bpmn designer should display the name, i think.
this is my gutt feeling, i don't know the spec in that part.
Yes, I prefer Id's as wel, since they are checked against all refs when checking the xsd. sequenceflows that point to non-existent activities are automatically found. Including e.g. when you point the 'default' attribute in the exclusiveGateway to a non-existent sequenceflow.