how records get deleted on svc_ci and svc_model_assoc_ci tables.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2022 06:44 AM
In my project there is a BR written when operational status on cmdb_ci (in particular I am looking for server table record) record changes to retired , the cmdb_rel_ci records for that CI (be parent or child) are deleted. This in turn is deleting the svc_ci_assoc and svc_model_assoc_ci table data for the server which basically stores service mapping relations.
1)Can anyone help me understand HOW and which are the tables triggered for cascade delete on cmdb_rel_ci record deletion .
2) which record gets deleted first svc_ci_assoc or svc_model_assoc_ci?
- Labels:
-
Service Mapping

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2022 11:26 PM
I do not have much visibility on Q1 n 2 as this needs some detailed analysis.
but if u want to stop - To stop this cascade delete of the CI relations. The out of the box system property glide.db.record_cascade_delete should be set to false
Regards
RP