Output Project Change History on Specific Model Types

The build-in Doc. Composer Revision Differences template can let you output the change history of models in your project. By default it will output all changes within the selected scope. In this article you will learn how to customize the default Revision Differences template to output the change history on specific model type(s).

Let’s start!

  1. Go to Tools > Composer.

    Open Doc. Composer

    Open Doc. Composer

  2. Select Build Doc. from Scratch.

    Select Build Doc. from Scratch

    Select Build Doc. from Scratch

  3. Select project root node.

    Select project root node

    Select project root node

  4. Right click on the Revision Differences (Model Elements) template and select Duplicate… from popup menu.

    Duplicate Revision Differences (Model Elements) template

    Duplicate Revision Differences (Model Elements) template

  5. Name the template as Revision Differences for Specific Model Type(s).

    Rename the newly duplicated template

    Rename the newly duplicated template

  6. Go to line 56 and insert the following code.
    <Conditions type="or">
        <ValueChecker property="valueModelType" operator="equals" value="BPTask"/>					
        <ValueChecker property="valueModelType" operator="equals" value="UseCase"/>					
    </Conditions>

    Modify the template to filter model types

    Modify the template to filter model types

  7. Press OK to save the change and close the Edit Template
  8. Drag out the Revision Differences for Specific Model Type(s) template and drop it to document editor.

    Drag the template into document editor

    Drag the template into document editor

  9. Specify the start revision for the report and press OK to proceed.

    Specify the starting revision for retrieve change history

    Specify the starting revision for retrieve change history

  10. Now the change history on the model types (BPMN task and use case for this example) on our selected revision scope are being outputted to the document.

    Change history for selected model types being generated

    Change history for selected model types being generated

 

Related Know-how

Related Link

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply