Enterprise Studio is an adaptable, metamodel-driven enterprise modeling platform. It comes pre-configured with several built-in metamodels, such as ArchiMate® and BPMN, but all of these can be extended and customized to fit the needs of your organization. As of Enterprise Studio 2.1.0, the new Metamodeler functionality makes it much easier than before to make such customizations.
This topic guides you through the initial steps of opening an existing metamodel and adding some custom profiles.
Before you start:
Changing a metamodel is like changing the schema of your database or, more metaphorically, like changing the foundations of an existing building. It is not something that should be done every day, nor something that anyone in the organization can or should do. Once models have been created it becomes more difficult to change the metamodel as they may not be consistent anymore with the new version of the metamodel. For changes in the metamodel to become effective existing model packages have to be migrated. Therefore, it is advised to carefully design the metamodels for your organization upfront and to limit later changes as much as possible to extensions.
On this page:
Opening a metamodel
Let's assume you are modeling your organization's structure in ArchiMate, but you are missing the possibility to specify that some business actors are organizational units and others are their managers. Moreover, you want to specify certain properties for each and assign managers to departments.
Organizational model in ArchiMate
- Open the tracked or shared model package that contains the metamodel you want to customize.
- Go to File > Manage Package > Manage Configuration, and click the ArchiMate metamodel.
A new instance of Enterprise Studio opens with a representation of the ArchiMate metamodel from your model package. There also is a Metamodel ribbon tab with metamodel-specific commands.
Creating custom profiles
Perform the following steps to create two custom profiles:
- Right-click the Custom Profile Definition View and click select New > Profile. A new profile is created.
- Press F2 to change the profile's name to "OrganizationUnit".
- Click the Edit properties control on the selected profile. The Profile properties pop-up window appears.
- Click the assignable to box, and add the "BusinessActor" concept from the ArchiMate metamodel to the currently empty list of concepts.
Repeat the steps above to also create a "Manager" profile.
Next, add an attribute to each of the profiles. Start with the OrganizationUnit.
- Right-click the OrganizationUnit profile and click New > Attribute. An attribute is added to the profile.
- Press F2 and type "nos : integer" to set the attribute's identifier to "nos" and its type to "integer". Make sure you spell the type correctly, otherwise the Metamodeler cannot find it and will return an error. Alternatively, you can just enter an identifier, in this case "nos", and set the type via the Attribute properties pop-up window.
In the same way, add a new attribute to the Manager profile with identifier "department" and type "OrganizationUnit".
As the attribute name "nos" is not very meaningful to users - it is just an internal identifier for Enterprise Studio - add a translation for it called "number of staff". This is the label that users will see when using the attribute in Enterprise Studio.
- Click the Edit properties control on the selected attribute. The Attribute properties pop-up window appears.
- In the translation box, type "number of staff".
- Click the cross in the upper right corner of the pop-up window to close it.
This completes your first custom profile definitions.
Testing your custom profiles
You can try out the custom profiles you have created. To do this, follow these steps:
- On the Metamodel tab, in the Check group, click Preview. Enterprise Studio may request you to close the model package you opened the metamodel from. Once the original model package is closed, the Metamodeler will open a new, empty "Test Model Package" in your model browser.
- In the "Test Model Package" create a new, empty ArchiMate model with a total view.
- Open the Total view and create two business actors: "HRM" and "Robert".
- Select business actor "HRM" and open the Properties pane.
- On the Profiles tab, assign the "Organization unit" profile to "HRM".
- Switch to the Properties tab, and verify that "HRM" now has a profile "Organization unit" and a property "number of staff".
- Verify that you can enter a number value for this property and not a text value.
- Likewise, assign the profile "Manager" to the business actor "Robert", and set its "department" property to "HRM".
- Verify that "department" cannot be set to other business actors that do not have the "Organization unit" profile.
As you can see, the profiles and attributes that you specified in the custom profile definition view of the ArchiMate metamodel are now available in your ArchiMate model.
ArchiMate® is a registered trademark of The Open Group.