Dropdown with -- none -- and default value

mark69
Giga Contributor

I defined a field in the dictionary with the choice list specification of "Dropdown with -- none --".

I also set a default value for this field.

When I create a new ticket it displays the selected default value as expected.

If I select the -- none -- value and save the ticket, the field is saved with the default value. This is not what I expect.

Can anyone explain this behaviour?

9 REPLIES 9

Inactive_Us1883
Mega Expert

Hi Mark,



if you want to show the none and have it saved section 3.4 Changing the -- None -- Display Value in below wiki help you, there listed the what you need to do.




Customizing Choice Lists - ServiceNow Wiki



Best Regards,


/Suraj


I will give this a try to see if it works.



Regards,


Mark


zica
Giga Guru

2 scenarios :


A : if you would like to have the none value, then I am afraid but you have to remove the default value


B : if you want to display a default value, then select the option 'without none'



Kind regards,


ZA


Do not feel shy to mark correct or helpful answer if it helps or is correct


mark69
Giga Contributor

That sounds like a good conclusion, but I feel the option of having a default value and the "with -- none --" option should work...



Regards,


Mark


zica
Giga Guru

Mark, if you specify a default value, that means that you don't want the field with no value (which the none means).



Kind regards,


ZA


Do not feel shy to mark correct or helpful answer if it helps or is correct