Default value not working

dfry123
Mega Expert

Hello,

I have a field with a default value that works on new incidents however when I try to use the "update selected" option in Service Now, the default option does not work. Is there a way to make a default option when doing "Update selected" as well?

Thanks!

10 REPLIES 10

Thanks. Next question - How are you setting the default value?


Its set by the dictionary entry under the 'default value" tab. Its a choice list string type field and its set-up without none.


Hi Darrell,



The Update Selected doesn't use the default values because you are updating records that may already have values. If you check off three records that have state values 2, 4, 7, and 5, it would be terribly confusing to show you a default state of -5, for example.



The --None-- option indicates you are not making any changes to that field.



Hope that clears things up.


That makes a lot of sense! So do you know a way around this scenario I am running into?



I have a field named "Foundation Categories" with two options (All, Foundation). This is default to "All" and the only time "Foundation" is used is when someone clicks "new foundation request"   from the application menus. This field is also hidden so no one can actually modify it. I have two other fields named "Categories" and "Subcategories". Categories is dependent on the "Foundation categories" field. So the problem I'm running into is that when someone does "Update selected" its not allowing them to choose any category because the "Foundation Categories" is none.




Thanks!


Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hello Darrel,



A default value populates a value in a field when a new record is created. To make sure it works on both form and list view for insert/update operation, you have to create a before business rule as per your requirement and set the default value to blank.