We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

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

Where you want to show thsi message.

*************************************************************************************************************
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/dratulgrover [ Connect for 1-1 Session]

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

Anurag Tripathi
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. 

 

 

 

*************************************************************************************************************
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/dratulgrover [ Connect for 1-1 Session]

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