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.

how to set "blank" default value for "requested for" type variable?

Junyu
Tera Contributor

Dear all,

 

I am working on record producer, I set a variable which type is " requested for"

I don't know how to set it as "None" default value,

plz tell me about it, thank you.

1 ACCEPTED SOLUTION

Danish Bhairag2
Tera Sage

Hi @Junyu ,

 

Please open that variable n check the Default Value Tab. It is due to that.

Instead change the type to Reference field select User table under Type Specification & load the form It will not contain any value by default.

 

Thanks,

Danish

 

View solution in original post

6 REPLIES 6

Hi @Junyu ,

 

As you wanted none by default when the form loads i think this would be the best solution to use reference field & if users wants to select any name they can type in the search are n select the name accordingly or u can autopopulate it as well.

 

Thanks,

Danish

 

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Junyu 

 

This is opposite what you looking for , but will give you an idea.

 

https://www.servicenow.com/community/now-platform-forum/how-to-auto-populate-the-logged-in-user-deta...

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************