Restrict CI insert/update in CMDB when operational status is 'Retired'

Nishant16
Tera Expert

I need to restrict CI's insert/update in CMDB when the Operational status is 'Retired' from a CI. For this i tried writing a business rule on condition 'Operational status' is 'Retired' and abort the action, however it doesnot work, even when i update the operational status from 'Operational' to 'Retired' then also it gives the error and cannot update the CI operational status to retired.

Nishant16_0-1702315933126.png

why the Business rule fail when the Operational status is still 'operational' and not updated to 'Retired' still gives an invalid update error.

Can someone suggest? what is the best approach to restrict ci insert on Retired Operational status?

10 REPLIES 10

Sandeep90
ServiceNow Employee
ServiceNow Employee

I strongly suggest using the conditions on the IRE rules to restrict the insert/update based on the retired state. Please refer to https://docs.servicenow.com/bundle/vancouver-servicenow-platform/page/product/configuration-manageme... 

 

When every rule has this condition then when insert/update it won't match on any rule and it will abort the insert/update automatically.