< Previous | Next >

Lesson 4: Run the transformation

This lesson shows you how to run the transformation in the runtime workbench. When you apply a transformation configuration, an instance of the transformation is created and the transformation runs with the properties that you specify in the transformation configuration.

About this task

When you run transformation, it creates a temporary model and compares this model to the target model that you specify in the transformation configuration. The differences between the two models are displayed in the Merge window.

For more information about running transformations and specifying merge strategies, see the related topics below.

To apply the transformation configuration that invokes the Generalize_Classes transformation:


  1. If it is not open already, in the runtime workbench, in the Project Explorer view, in the TransformationTest project, double-click FirstConfiguration.tc; then, on the Main page of the transformation configuration editor, click Run.
    Tip: In the TransformationTest project, you can also right-click FirstConfiguration.tc; then click Transform > Generalize Classes Transform.
  2. While the transformation runs, based on the default merge options that the transformation provider specifies, you might be prompted to accept the changes to the files in the target model. Click OK.
  3. In response to the messages that are displayed, click OK.
  4. In the Merge window, view the proposed updates to the target model, select or clear the check boxes to accept or reject the proposed changes, and click OK.
  5. In response to the messages that are displayed, click OK.


Tip: To run this transformation again, click Modeling > Transform > Run Last. The transformation uses the same source elements from when you last ran the transformation.

You can now explore the transformation output in the TargetModel model. The image below shows the visual representation of the elements in the generated SourceModelTgtModel output model. This model contains a package called BusinessClasses, which contains a class called Employee and an interface called IEmployee.

This images shows the transformation output described in the previous paragraph.

Related information:

Adding merge support for models generated by model-to-model transformation mapping projects

Running and rerunning transformations

< Previous | Next >