- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2018 03:00 AM
i have created CI relationship using script with Scheduled job and Script Include , relationships are visible in cmdb_rel_ci table but the relationships are not reflected in Dependency Map for CI?Please suggest me an option through which i can automatically create that using script
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-01-2018 07:00 AM
Have you tried using newRecord() instead of initialize()... they are different as newRecord() sets default values.
I also noticed there's a field called connection_strength which is set to always when I manually created the record. Try setting that in your script and let me know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-04-2024 04:53 AM
I tried this -->
Tested on build: Washingtondc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-04-2024 05:09 AM
I tested this -->
In Background script, and it works as intended, now it creates the relationship and it also shows up in the dependency map view.
Tested on build: Washingtondc