CI Relationship creation through transform map or Automatically
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2018 10:33 AM
Hi Team,
I have 2 ci classes, instead of creation manual entries in cmdb_rel_ci table. i just wanted to build the relation ship automatically while inserting the records.
for example: let us say
parent: parent class
few records are there in this class
child: child class
only two records are there in this class
i am inserting the records in parent, after insertion the relationship needs to be create automatically. there is common value for parent and child is ip address. if it is matched then attach this parent to the respective child.
parent Runs on::Runs Child like this.
i have the below script but i failed in usag
please give the information if you have anyyyy......
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2023 08:18 AM
HI Anvesha,
I have similar kind of requirement in below
Once create business application using transform map, relationship created automatically.
parent: business application
child: application service
type: Consumes:: Consumed by
could you please provide the code to achieve it