Create new Relationship between 2 tables in CMDB

Bijay Kumar Sha
Giga Guru

Hi,

I've 3 tables which are extended from cmdb_ci base table.

1. cmdb_ci_business_app

2. cmdb_ci_aws_account

3. cmdb_ci_ec2_instance

I can see in cmdb_rel_ci table, there is a relationship exist between 'cmdb_ci_business_app' and 'cmdb_ci_aws_account' tables as type Use::Used By and no other relationships exists in between above 3 tables.

So, I want to create a new relationship between 'cmdb_ci_aws_account' and 'cmdb_ci_ec2_instance' as Parent and Child table which will be one to one and Type will be created new lets say Uses::UsedBy. (Currently I've a reference filed of 'cmdb_ci_aws_account table in 'cmdb_ci_ec2_instance' form).

 

So, my goal is to see the 'cmdb_ci_ec2_instance' details under the relationship tab in cmdb_ci_aws_account form. Same in cmdb_ci_business_app form. Currently I'm only seeing the details between cmdb_ci_business_app and cmdb_ci_aws_account table in each form. 

 

Please help me to create these relationships. 

1 REPLY 1

SN_Learn
Kilo Patron
Kilo Patron

Hi @Bijay Kumar Sha ,

 

Please check the SN doc below, might assist you with your requirement:

Create or edit a CI relationship 

 

more articles:

ServiceNow CI relationship 

ServiceNow CI Relationships and CI Relationship Editor 

 

Please consider marking my reply as Helpful and/or Accept Solution, if it helps. Thanks!

----------------------------------------------------------------
Mark this as Helpful / Accept the Solution if this helps.