In the Group dialog, you can define the behavior, the modeling properties, and the custom attribute types of the current model's groups. This dialog can be opened from the Modeling Options dialog by selecting "Group" and clicking the "View" button.
The Behavior tab shows the predefined behavior options for the group and all custom element hierarchies in the model.
You can select the desired behavior options for the group by clicking a checkbox next to the behavior option. The behavior options are:
•Group element: a group of this type can be a Group Element.
•Synchronize group instances: when this option is selected, instances of Group Element of this type are synchronized.
•Can belong to a group: a group of this type can be added to a group.
The element hierarchies can be used, for example, to model the structure of the process. The element hierarchies are visible in sub-tabs of the Processes tab in QPR Portal. In case the model containing the custom hierarchy is a base model, the hierarchy is published if a group that is a part of the hierarchy is published. The "Custom hierarchies" list shows all the custom hierarchies in the model. The list is used to define element hierarchy behavior for the group. The list contains four parts:
•Checkbox: selecting a checkbox will make the group type a part of the hierarchy in question.
•Hierarchy: this column lists the names of the element hierarchies in the model.
•Part of branch: the drop down boxes in this column define if the group can be a part of a single branch (i.e. the group can have only one parent element) or multiple branches (i.e. the group can have multiple parent elements).
•Node type: defining the node type as a "leaf node" prevents the groups of this type from having child elements, whereas defining the node type as "any node" allows the groups of this type to have child elements.
To create a new element hierarchy, click the New button. To view and modify the properties of an existing hierarchy, click the View button. Click Delete to delete the selected hierarchy. Clicking the Set as Default button will set the selected hierarchy as the default hierarchy for the group. If a hierarchy has been set as a default hierarchy, that hierarchy is shown in the selection dialogs for the group. If a default hierarchy has not been set, the groups are shown as a list in the selection dialogs. Clicking the Clear Default button will clear the default setting.
The Group Relations tab is visible, when the "Group element" behavior option is enabled. The Group Relations tab used to select which relation type custom attributes are set in the Group Element when an element is added to the group.
The Modeling tab shows the default graphical properties for the group. Click the Edit... button to modify the graphical properties.
Custom Attribute Types
Custom attribute types can also be defined for Groups. On the Custom Attribute Types page of this dialog, you can add custom attribute types by clicking the "Add" button and remove custom attribute types with the "Remove" button. You can also edit the custom attribute types. To change the order of the custom attribute types, use the upward and downward arrow buttons on the right side of the dialog. You can edit the name of the custom attribute type by typing it into the Name column. The cardinality can also be changed by clicking on the cardinality value and then selecting a new value from the drop-down list (either 1 or N). If you select 1, only one value can be defined for that attribute. If you select N, several values can be defined.
On the Model Validation tab, you can define validation rules to help you with model consistency and following a modeling notation. When the check box is filled, the validation definition set in Modeling Options Dialog are used. When the check box is checked, the validation definition on the current element type dialog is used. See the Modeling Options Dialog topic for details.