What is the typeOf check box?

Udbhav
Tera Contributor
I  thought it should be a Boolean, but it does not look like.
Below code is failing.
 
if(g_form.getValue("vip") == true){
        alert("User is VIP");
  }
  else{
    alert("User is not VIP");
  }
1 ACCEPTED SOLUTION

Hi @Udbhav 

 

You can create UI policy

AGLearnNGrow_0-1708347128491.png

 

You need to click on Show related Field (at the last in drop down)

and select caller.Releated Field (my case for change table)

and then use script tab to show alert.

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

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

View solution in original post

6 REPLIES 6

Hi @Udbhav 

 

It's all about learning and experience with each other. 

Its ServiceNow Pe Charcha.. not chai pe 😉 you can connect with me on my channel too.

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

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

Udbhav
Tera Contributor

my bad....."Servicenow pe Charcha"