Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Relationship between the contract and the CI

jaouad_essabir
Mega Contributor

Hello,

I wanted to import a relationship file between contracts and CI, but I'm stuck.

In the "cmdb_rel_ci" table, we have the two elements used in transforme MAP
Parent --> type = CI configuration
Child --> type = CI configuration

I have already imported the table contract "ast_contract"

In the relationship file which i want import, I have:
The parent = an item of CI -> so ok
The child = an item of contract -> not KO, so I created a new field in the relationship "cmdb_rel_ci" table "child contract" that references the table "ast_contract"

And I created a transform MAP using the fields:
Parent, type, child contract
instead of
Parent, type, child

The file is well imported, except that the graph display of relationships, I can't find the contract associated with a CI.

we have also, two columns "child" for relation with CI and "child contract" for relation with contract

find_real_file.png

when i displayed the graphe, i didn't find the contract, may the graphe take only the column "child"

find_real_file.png

Any help please ?

Best Regards

11 REPLIES 11

jaouad_essabir
Mega Contributor

where can i clic ?


Hi, You can click on the Helpful 'Yes' icon via the inbox message thread as shown below (1), or you open the actual question thread and click 'Correct'.


Thanks,


Robbie



1:


find_real_file.png