Hi Maxim, The CMDB API should not be looking for forms...it should know to reference the class in the CMDB Metadata. It has done in all previous releases of CMDB. I have seen a few problems of OOTB Remedy workflow (not the API's) looking for a specific form name by assuming they can put a prefix of "BMC:" in front of the Class Lookup Keyword, but we know this doesn't work for categorisation classes that don't exist as physical AR System forms. Was this a problem for you before you upgraded to Patch 003? Can you reproduce this on a 1.1 Patch 002 environment? I'm not running the new patch so I can't test this from my end. Have you tried turning on Filter logging when you try this action? In Asset Management, you should see a Filter called "AIAST:INV-All_CreateStorageRelation2_SystemsComponents" which is used when creating Inventory relationships from the BMC_HardwareSystemComponent class and it's categorisation subclasses (via form AST:HardwareSystemComponent). >From looking at the code on this filter, it appears to be doing the right >thing, but if you turn on the logging and try putting something into the inventory you might be able to spot the problem. This Filter is hard coded to use the BMC_InventorySystemComponents relationship. The BMC_InventorySystemComponents relationship on my system is supposed to allow any instance from BMC_InventoryStorage on the left to be related to any instance from BMC_SystemComponent on the right. You should check this in your Class Manager consoel to make sure this is also true. According to the laws of Relationship inheritance, any subclasses of these classes should also be valid in the relationship. In your example, BMC_SystemComponent is an ancestor of BMC_Memory, so this should work. The only case I can imagine where this isn't working is if CMDB 1.1 Patch 003 has introduced a new error, or there is something wrong with your metadata. Do you have anything currently in the "Change Pending" state? Search for all records in the OBJSTR:Class form where:
'Pending ID' != "0" Let me know if this returns any results as these should be flushed through before further testing. Besides this, I would suggest turning on the logging and tracing it through. When the Error is returned if everything looks like it should logically work, I would suggest contacting BMC as this could be a bug in this patch. Chris. > Chris, > > This class exist in OBJSTR:Class. I changing Status to In Inventory and error > occur. > The same error for other classes lies under BMC_MEDIA, > BMC_HARDWARESYSTEMCOMPONENT > and so on. CMDB look fine in OBJSTR:Classes. This error coming from > cmdbapi63.dll. I > think this DLL check for form like BMC:BMC_MEMORY in repository and can't > found it > :( As I know, for categorization classes forms is absent. Any ideas? > > --- > С Ñважением, With best wishes, > > ÐеÑбовик ÐакÑим Maxim Verbovik > Ðивизион пÑогÑаммнÑÑ ÑеÑений Software > solutions division > > INLINE Technologies, www.in-line.ru > > ТелеÑон/Tel: +7 (495) 721 3505 (доб./ext 393) > ФакÑ/Fax: +7 (495) 131 4529 > Ðоб./Mob: +7 (926) 351 6738, +7 (927) 200 2520 > -----Original Message----- > From: Action Request System discussion list(ARSList) [mailto:[EMAIL > PROTECTED] On > Behalf Of Chris Williams > Sent: Thursday, July 06, 2006 5:54 PM > To: arslist@ARSLIST.ORG > Subject: Re: Invalid role 2 relationship > > Hi Maxim, > According to the manual (CMDB 1.1 Patch 002)... > > Error 120100 > One of the endpoints specified for the relationship has an invalid class ID. > (CMDB_ERROR_INVALID_REL_ENDPOINT_CLASS_ID) > Specify a valid class ID. > > How are you relating the two CI's together? Are you changing the Status to "In > Inventory", or are you using the functionality on the Related Items tab? If > you use > the Related Items functionality, which Relationship are you using to connect > the > CI's, and which are you specifying as the parent, and which the child? > > If you open the "OBJSTR:Class" form in the User Tool, when you search for: > > 'Class Id' = "BMC_MEMORY" > > ...do you get any records returned. If so, how many? > > Let me know the answers to these and I'll see if we can work it out. > Unfortunately > I'm not running Patch 003 myself yet, so I don't know if this is a common > problem > after upgrading, but I would hope not. > > Cheers > Chris. > > >> Hi Chris, >> >> Itââ¬â¢s a core classes in CMDB 1.1 >> Error code is 120100. >> I haven't new classes. >> Xxx mean categorization upper class name like BMC_MEMORY >> >> --- >> á ÃÆòðöõýøõü, With >> best >> wishes, >> >> ÃâõÃâ¬Ã±Ã¾Ã²Ã¸Ãº ÃÅðúÃÂøü >> Maxim Verbovik >> Ãâøòø÷øþý >> ÿÃâ¬Ã¾Ã³Ãâ¬Ã°Ã¼Ã¼Ã½Ãâ¹Ã⦠>> Ãâ¬ÃµÃËõýøù Software >> solutions division >> >> INLINE Technologies, www.in-line.ru >> >> âõûõÃâþý/Tel: +7 (495) 721 3505 (ôþñ./ext 393) >> äðúÃÂ/Fax: +7 (495) 131 4529 >> ÃÅþñ./Mob: +7 (926) 351 6738, +7 (927) 200 2520 >> -----Original Message----- >> From: Action Request System discussion list(ARSList) [mailto:[EMAIL >> PROTECTED] >> On >> Behalf Of Chris Williams >> Sent: Thursday, July 06, 2006 5:06 PM >> To: arslist@ARSLIST.ORG >> Subject: Re: Invalid role 2 relationship >> >> Hi Maxim, >> Do you have the number of the error that is being returned? It might help >> to >> work >> out normally causes this error and where you should start looking to debug >> it. >> Have you created any new classes of your own? >> Is the message really returning "xxx" for the classid, or is this returning a >> GUID? >> Let me know and I may be able to help from there. >> Cheers >> Chris. >> >>> Hi, >>> >>> >>> >>> After installed CMDB 1.1 p3 I have strange situation: for categorization >>> classes >>> like BMC_PROCESSOR and BMC_MEMORY when I want place item in inventory I >>> have the >>> following message: Invalid role 2 relationship for class id : xxx >>> >>> >>> >>> Any solution? >>> >>> >>> >>> PS: This is categorization classes and haven't forms in ARS. The error text >>> was >>> found in cmdbapi63.dll >>> >>> >>> >>> ó Ãâ¢ÃâÃÂÃâÃâ¦ÃŽÃâ°Ãâ¦ÃÂ, >>> >>> >>> >>> With best wishes, >>> >>> >>> >>> ÷Ãâ¦ÃâÃâÃÂÃâÃâ°Ãâ¹ ÃÂÃÂÃâ¹ÃâÃâ°Ã >>> >>> äÃâ°ÃâÃâ°ÃÅ¡Ãâ°ÃÂÃŽ >>> ÃÂÃâÃÂÃâ¡ÃâÃÂÃÂÃÂÃŽÃâ¢ÃË >>> ÃâÃâ¦ÃâºÃâ¦ÃŽÃâ°ÃÅ >>> >>> INLINE Technologies >>> >>> ôÃâ¦ÃÅÃâ¦Ãâ ÃÂÃŽ: +7 (495) 721 3505 (ÃâÃÂÃâ. 393) >>> >>> æÃÂÃâ¹Ãâ: +7 (495) 131 4529 >>> >>> ÃÂÃÂÃâ.: +7 (926) 351 6738, +7 (927) 200 2520 >>> >>> <http://www.in-line.ru/> >>> >>> Maxim Verbovik >>> >>> Software solutions division >>> >>> INLINE Technologies >>> >>> Tel.: +7 (495) 721 3505 (ext. 393) >>> >>> Fax: +7 (495) 131 4529 >>> >>> Mob.: +7 (926) 351 6738, +7 (927) 200 2520 >>> >>> This e-mail and any attachments are confidential and may also be >>> privileged. If >>> you >>> are not the named recipient, please notify the sender immediately and do not >>> disclose the contents to any other person, use it for any purpose, or store >>> or >>> copy >>> the information. >>> >>> >>> >>> >>> >>> >>> _______________________________________________________________________________ >>> UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org >> >> _______________________________________________________________________________ >> UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org >> > > _______________________________________________________________________________ > UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org > > _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org