Changing the values of a relationship instance

Why and when to perform this task

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 ID's 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.

Steps for this task

  1. Open the WebSphere Process Server 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 by clicking Relationships next to that relationship services MBean.

    A relationship named SampleCustID should be visible.

  5. Locate the Roles column, and click the link in this column for the SampleCustID relationship.

    Three roles should be available: MyCISCustomer_0, MyGLCustomer_0, and GenericCustomer_0.

  6. Search for a particular value on the MyGLCustomer_0 role to locate the relationship that must be modified. Select the radio button next to MyGLCustomer_0, and click Query.
  7. Under the By Key tab, enter the value 901 in the Value field under Key attributes; and click Apply.

    This locates the relationship instance for the requested customer.

  8. Click the relationship instance ID.

    This page shows the actual relationship data for customer ID 901 in the GL application. Since a query was done against a particular role, only data for that role was returned.

  9. Click the MyGLCustomer_0 link in the Name column.

    This displays all of the roles that match the query for this relationship instance.

    Note: The role should have customerNumber=901 and no property values. If any other data appears, you need to look at the role instance and record any data you want to keep.
  10. In the Select column, click the radio button next to the role instance; and click Delete.
  11. Click Create to create a new role instance for this relationship instance.
  12. Enter 801 as the Value for customerNumber, and click OK.

    You should see a new unsaved instance in the table.

  13. Click Apply Changes to save all the updates into the relationship database tables and return the changed instance.

Result

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


Terms of use |

Last updated: Tue Feb 21 17:19:16 2006

(c) Copyright IBM Corporation 2005.
This information center is powered by Eclipse technology (http://www.eclipse.org)