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.

If Current logged in user's manager is VIP, show alert message "Manager is VIP "

Prasad Kumar
Tera Contributor

If the Current logged in user's manager is VIP, show the alert message "manager is VIP"
How can I configure that
thanks in advance
@James Chun

@Sumanth16

@Mark Manders

@Community Alums

@ Sohail Khilji

6 REPLIES 6

Dr Atul G- LNG
Tera Patron
Tera Patron

Where you want to show thsi message.

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

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

Anurag Tripathi
Mega Patron
Mega Patron

Hi,

Who do you want to show the alert to ? 

Your question is 'Current logged in user's manager is VIP, show the alert message "manager is VIP"' -> so if i log in , and my manager is vip, i should see the alert? On what screen?

 

-Anurag

@Anurag Tripathi 
Hi Anurag Tripathi, Thanks for your response.
my query is when I logged in the current user
if his manager is VIP show him an alert message on the same form
I have tried the code on attached form

2 ways

1. Client script. 

2. UI policy low code

caller.vip= true

in script section

use 

showinfo message

and your work done. 

 

 

 

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

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