Sparx Systems Forum

Enterprise Architect => Bugs and Issues => Topic started by: HarryPlotter on August 12, 2015, 09:50:36 am

Title: Alias auto name counter for 'Event'
Post by: HarryPlotter on August 12, 2015, 09:50:36 am
Hello.

We are refactoring a set of BPMN models in EA12. First step was to use the 'Auto Name Counter' feature to add an 'Alias' to every diagram element, but we have hit a problem with the 'Event' type.

The alias has been automatically set for every Start, End and Intermediate event EXCEPT edge-mounted events, which have been left blank. And when creating new events, the alias is set correctly for all event types except edge-mounted events, which again are left blank.

We're not sure if this is a bug, or if it's reflecting some Deeper Truth in the BPMN spec we're not aware of.

Does anyone know if there is a reason for edge-mounted events behaving differently?
Title: Re: Alias auto name counter for 'Event'
Post by: Eve on August 12, 2015, 10:10:01 am
The problem is that the dialog only offers the core UML types which EA builds all the other profiles from.

If you remove the stereotypes from a BPMN diagram...

Standalone Events have the type 'Event'.
Activities has the type 'Activity'.
Edge mounted Events have the type 'ObjectNode'
Title: Re: Alias auto name counter for 'Event'
Post by: HarryPlotter on August 12, 2015, 12:00:14 pm
Great/thanks/sorted.

Have added a new rule for 'ObjectNode', applied auto-naming to elements, and all is good with the world.