QPR Knowledge Base 2017.1

Model Comparison

Model Comparison

Previous topic Next topic No directory for this topic  

Model Comparison

Previous topic Next topic Topic directory requires JavaScript Mail us feedback on this topic!  

EA_iconPD_icon

 

Model Comparison can be used to see the differences between two model versions. This is useful, for example, for determining what changes have to be made to the current state so that the desired state is reached.

 

To compare two models:

1.Open a model. This model will be the "current" model used in the comparison.

2.Open the Navigator view.

3.On the Home tab of the ribbon, click the Select Model button in the Model Comparison group. By clicking the btn_ribbon_dropdown_menu button under the Select Model button, you can specifically select whether to open a File model or a Server model for comparison.

4.Select the model to which you want to compare the current model.

 

The Navigator view will then show the differences in the hierarchy as follows:

 

Status Column

Attached: The node exists in the current model, but not in the compared model. However, the element exists in both models.

Detached: The doesn't exist in the current model, but does exist in the compared model. However, the element exists in both models.

Deleted: The element doesn't exist in the current model, but exists in the compared model.

New: The element exists in the current model, but doesn't exist in the compared model.

 

Other Columns in the View

The value changes are shown in color code. You can also define the value changes to be indicated by text by clicking the btn_report_options button on the Model Comparison group, and selecting the Indicate changed attribute value status with text check box.

 

Green (New): The value has been added to the current model.

Yellow (Changed): The value has been changed in the current model.

Red (Deleted): The value has been changed in the current model.

 

You can also change the direction of the comparison by clicking the Change Direction button. To end the comparison, click Close.

 

Editing the current model is possible during Model Comparison, but the model selected for comparison is read-only.

 

Note that the models to be compared should be based on the same meta-model. If an element is found from both models with the same symbol, but with different meta-type (e.g. process step, flow, or element), they are not considered to be the same element.

 

Note that at least view rights to an element are needed in both models for the element to be shown in the comparison.

 

Example

To see every change in the Diagram Hierarchy between two model versions:

1.Open the model version you want to compare.

2.Open the Navigator View.

3.On the ribbon, click Custom Views.

4.The View Settings dialog opens. Click New.

5.The Navigator View Settings dialog opens. Give a name to the view.

6.Switch to the Elements tab.

7.From the Hierarchy section, select Diagram Hierarchy.

8.From the Additional Elements section, select all elements.

9.Click OK. You now have a Diagram Hierarchy showing all elements in it.

10. In the Model Comparison group on the Home tab of the ribbon, click Select Model.

11. Select an older model version and click Open. You now have a Model Comparison of the Diagram Hierarchy between the two model versions.