Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Make Configuration Item mandatory for Change

mah1
Kilo Sage

Vancouver Patch 5

 

We had a need to make configuration item mandatory for a Change.  This was done using a dictionary override and appeared to be working. However, we recently discovered a handful (around 12) of changes that have been created in the past year with an empty configuration item. I am not able to reproduce this; every time I create a change and try to save without specifying a configuration item, the standard "The following mandatory fields are not filled in: Configuration item" message is displayed and the change is not saved.  I checked all the views and configuration item is flagged as mandatory in all of them. 

 

How can this be made full-proof so that a change cannot be saved without a configuration item? Use a UI Policy instead of the dictionary override?  Is there any way to determine the circumstances that are permitting a change to be saved without a configuration item?

 

Thank you

1 ACCEPTED SOLUTION

Were they created by some automation or some integration?

Unless you find where was the leak you cant fix it.  Maybe add a Data Policy as well as it checks for mandatory fields form all sources, manual or integration etc.

-Anurag

View solution in original post

14 REPLIES 14

No it wont be deleted, however it will be mandatory, so if anyone updates that change it will need a CI.

-Anurag

Perfect!

Thank you

Is this answered? 

-Anurag

Follow-up question:

Is there any harm in leaving the dictionary override as is and just adding a Data Policy for configuration item mandatory?

Thank you

No you can leave it as is too

 

-Anurag