Creating a User-Defined Action

You can specify a user-defined action on an object to analyze its consequences. You must already have created the appropriate analysis rule in the Resource Editor.

In the following example, create an impact analysis rule to specify that a ModifyDataType action on the Data Item metaclass will also change its attributes.

  1. In the Resource Editor, open an impact analysis rule set (see Analysis Rule Sets).
  2. Click the PdCDM library to expand its available metaclasses tree.
  3. From the tree, select Data Item and create the appropriate rule by specifying the following options:
    • Action – enter ModifyDataType, which specifies the action on the data item, and triggers the impact analysis rule. The Enable check box is automatically selected.

    • Collection – select Attributes, which specifies the metaclass collection for which you define the impact rule.

    • Effect – enter ModifyDataType, which specifies the action that is propagated to attributes.



  4. Click OK to save the rule set and close the Resource Editor.
  5. Open the Action Description dialog:
    • [from preview] Right-click a data item in the tree, and select Change Action Description.

    • [from the IAM] Right-click a data item in the Browser or in the diagram, and select Change Action Description.

  6. Enter ModifyDataType in the User-defined Actions field:


    You can enter several actions in a single word using semicolons as separators.

  7. Click OK to close the dialog box.

The following example shows how the [ModifyDataType] action on the Employee number data item affects its Employee number2 attribute, which in turns affects its Idtf_2 identifier: