how i can make the requested for variable as mandatory by using requested type

Lahari532
Tera Contributor

I created one variable called "Requested For" and  used the type as Requested for but the requested for type will take the value of logged in user if we are providing the default value as none it taking the requested for value as referencing the user table.as i mentioned that variable as mandatory. But when i am using in ctalog that variable is showing not manditory in the form and storing the value.how i cam overcome this and making that variable as a manditory.

8 REPLIES 8

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Lahari532 

 

As it is variable, you need to write Catalog UI policy for same.  The way you write the native UI policy.

*************************************************************************************************************
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]

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

hi @Dr Atul G- LNG 

 

i written the ui policy also but it not showing that field as a mandatory. showing requested for as preview record

 

Its UI policy or Catalog UI policy?

*************************************************************************************************************
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]

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

Hi @Lahari532 

 

Catalog UI policy looks good , please make true these 2 as well

 

AGLearnNGrow_0-1712304645245.png

 

*************************************************************************************************************
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]

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