Following are the steps for Updating the Loopup Keyword or Class ID of Relationship Class:
Step 1: Change the Class id (179) and ClassID02 (301143000) value to the required value in Form OBJST:Class
Step 2: The Step 1 will create an New Record in the form SHR:SchemaNames
Step 3: Update the appropriate Proper Name for the New Record thats is created in Step2
Step 4: Delete the Old Record from the SHR:SchemaNames, which had old Lookup Keyword
Step 5: Try Creating a New Relatioship using this Class, check the Class Id in BMC.CORE:BMC_BaseRelationship. The New updated Lookup keyword should be available.
The above steps is working fine for the New Relationships that we are creating, but How do i handle for the already existing relationships in BaseRelationship class. They have the old Class ID and this field is not editable in the BMC.CORE:BMC_BaseRelationship as well.
Is the method above for changing the Lookup Keyword for custom classes a 'supported' process?? i.e. Do BMC document this anywhere or has BMC Support offered it as an officially approved technique?
We have a similar requirement (for CIs rather than relationships), but the above steps as Dinesh has noted, are fine if you have just created the new class and have no instances of CIs or relationships yet created. The new ones created after the keyword change seem to be OK, but trying to deal with existing ones is a challenge. Updating the class id for CIs has proven dangerous, it seems Gustavo's suggestion above is the safest bet - export the affected objects and import against the newly renamed class.