Default value on Yes/No variable

Karan31
Tera Contributor

How can we set No on Yes/No variable on variable form page. Since i am using UI policies to control the visibility of the field. I don't want to use client script for this.

9 REPLIES 9

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

configure the default value in the variable as No

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi Karan,

sample below

find_real_file.png

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

@Karan

Hope you are doing good.

Let me know if I have answered your question.

If so, please mark appropriate response as correct & helpful so that this thread can be closed and others can be benefited by this.

If not, please let us know if you need some more assistance.

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Anurag Tripathi
Mega Patron
Mega Patron

Hi,

You can use the UI policy 'run script' part to update the value.

But you should just add the default value on the variable itself.

find_real_file.png

-Anurag

 

-Anurag