We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

How set a default value using dictionary entry

Sowmya20
Tera Contributor

I have the variable called Audit, it should be "No" by default. I am trying add the default value using dictionary.

Is there anything I'm missing to add.

find_real_file.png

Thanks.

17 REPLIES 17

Raghav Sharma24
Giga Patron

Can you right-click on that field and select "watch".

find_real_file.png

 

After doing this just reload the form from header right click option (reload form) and check if some other script is overriding your default value.

find_real_file.png

You will only have option to watch field if you have application navigator on left of form.

There is no other scrpt overriding.

Ok, can you check in sys_choice table that there is no leading or trailing space with "no"  value by mistake, as that may also cause issues.