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 Tagged Values 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 Tagged Values window, and which are collapsed

The Tagged Values window for the BPMN 2.0 Activity element initially displays as shown:

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:

Attribute

Values

See also

_tagGroups

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

_tagGroupings

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)

_tagGroupStates

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

Notes

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

Learn more