cmdb_ci and task_ci

ryadavalli
Tera Expert

I have a business rule on task_ci (Affected Cis) which upon deleting the CI from affected cis   will throw a message saying you cannot delete if it a primary Ci as well.

But when I try to delete a CI from cmdb_ci, if that ci is a part of an INC, the above business rule is triggered. Why?

12 REPLIES 12

Tanaji Patil
Tera Guru

Hi ravali,



Whenever you select a CI on 'Incident' form it creates a new record in 'Affected CI'. When you delete a CI from cmdb_ci,then it deletes the respective records from 'Affected CI' table because of which your business rule is getting triggered.



Thanks,


Tanaji


Hi All,


I have a requirement to auto-populate a list field referring to cmdb_ci (with ci type == 'service') with the services of CI selected in affected devices(referring to cmdb_ci table with ci type == device).


Can anyone help?


Your requirement is not clear. Please can you elaborate.