Book a Demo
Prev Next

Define Tag Groupings

In developing a stereotyped element in a Profile, you might define a large number of Tagged Values. For example, a BPMN Activity element in the BPMN 2.0 Profile has 30 Tagged Values. By default, in the 'Tags' tab of the Properties window for the element, these Tagged Values would initially all be displayed in alphabetical order, which might split related tags if they happen to have alphabetically distant names. To keep related tags together and control which tags are initially shown, in the BPMN 2.0 Profile the Tagged Values have been grouped. You can apply the same solution, using three tag grouping special attributes in the Metaclass element extended by the Stereotype element in which the tags are defined as attributes.

You apply the grouping using:

  • _tagGroups to define the group names
  • _tagGroupings to define which tags go into each group
  • _tagGroupStates to define which tag groups are initially expanded in the 'Tags' tab of the Properties window, and which are collapsed

The 'Tags' tab of the Properties window for the BPMN 2.0 Activity element initially displays as shown:

A screenshot of the Tagged Values window in Sparx Systems Enterprise Architect showing the tagged values owned by a BPMN 2.0 Activity element.

Activity Metaclass Attributes

To achieve that display of the BPMN 2.0 Activity Tagged Values, the Technology Developer defined the special attributes in the Activity Metaclass element as shown:



See also


Base Element,Activity,Task,AdHoc,Loop,Sub-Process,Callable Element,Execution,Other


auditing=Base Element;categoryValue=Base Element;documentation=Base Element;monitoring=Base Element;activityType=Activity;calledActivityRef=Activity;instantiate=Activity;isACalledActivity=Activity;isATransaction=Activity;isForCompensation=Activity;resources=Activity;messageRef=Task;operationRef=Task;rendering=Task;script=Task;scriptFormat=Task;taskType=Task;adHoc=AdHoc;adHocOrdering=AdHoc; ... (and so on)


Base Element=closed;Activity=open;Task=open;AdHoc=closed;Loop=closed;Sub-Process=closed;Callable Element=closed;Execution=closed;Other=closed


Shown here, is an simple example of how to use the tag grouping attributes.


  • This facility currently is available for object types only, not for other types such as attributes

Learn more