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

Nishant16
Tera Expert

i only want the updates to be restricted on Retired status, it will work the same as it is now

 

Did you try UI policy? 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

how would UI policy help here? can you suggest why the Business rule wont work here?

 

Michael de Boer
Giga Guru

Hi @Nishant16,

Create the following business rule with "changes from retired"

MichaeldeBoer_0-1702415743810.png

 

 

Regards,
Michael

Please mark the suggestion as helpful/like, if you find it useful to you or others who wants to refer similar content.
Please mark the solution as correct, if the answer provided has resolved your query.

Pratiksha
Mega Sage
Mega Sage

Create a reconciliation rule. You need to give the discovery source and filter will be on install status. That will do