IBM BPM, V8.0.1, All platforms > Administer applications and processes in the runtime environment > Manage relationships > Tutorial: Relationship manager administration

Example: Changing the values of a relationship instance

For a relationship instance, the values of key attributes can be changed on the Relationship Instances page of the administrative console. This example shows the use of that page to change a value for a relationship instance.

One of your customers has a customer ID of A004 in your CIS application. This same customer has a customer ID of 801 in your GL application. However, due to a data entry error, the relationship instance that correlates the customer IDs of this customer currently has a value of 901 instead of 801 for the GL customer ID. This tutorial takes you through the steps to correct this entry in the relationship.


Procedure

  1. Open the administrative console.

  2. If security is enabled, log in as a user with administrator privileges.

  3. In the navigation pane, click Integration Applications > Relationship Manager.
  4. Open the relationships page for the server you want to manage. Click Relationships next to that relationship services MBean.

    A relationship named SampleCustID should be visible.

  5. Select SampleCustID, then click Query.
  6. Locate the relationship instance for the customer

    1. Click the query By role tab
    2. In the Role name field, select MyGLCustomer_0 from the drop-down list.

    3. In the Value field under Key attributes, enter901

    4. Click OK

    This locates the relationship instance for the requested customer and opens the Relationship Instances page.

  7. Click the relationship instance ID.

    This displays the relationship instance data for customer ID 901 in the GL application, including all the associated role instances.

  8. In the MyGLCustomer_0 role table, select the role instance ID with the key attribute value 901, then click Delete below the role table.

    It should not have any property values associated with it. If any other data appears, you need to look at the role instance and record any data you want to keep.

  9. Click Create to open the New Role Instance page for creating a new role instance for this relationship instance.

  10. Enter 801 in the Value field under Key attributes, then click OK.

    The new role instance is saved, and you should see a new role instance in the table.


Results

You now have the correct customer ID value in the relationship instance for the GL application.

Tutorial: Relationship manager administration