How Can i create a Flag Like VIp and give the condition

Ashutosh4
Tera Contributor

Hello everyone,
I got a req to create a Flag similar to VIP users , but the condition is the falg should be tagged to the users who are a part of a particular group example Group a

if a user raises incident or request then the flag should be visible in the caller field and and in the list view just like how VIP flag is visible I went through this link
Display Image for OIP users similar to VIP users - IT Operations Management - Question - ServiceNow ...
but it seems the condition they had wad very mch similar to the Vip , for me I want for users that are part of a group.
Can anyone help me with the steps and Codes?


Thank you

12 REPLIES 12

find_real_file.png

I used this one but it is working is the logged in user is a part of the group then all the caller field is showing the VIP FLAGS
find_real_file.png

 

i TRIED TO CHANGE THE FIELD NAME TO ASSIGNMENT GROUP, NOW EVERY ASSIGNMENT GROUP IS GETTING POPULATED

 

Hi,

so which user it should pick?

caller_id?

if yes then update as this

javascript: gs.getUser().getUserById(current.caller_id).isMemberOf('CAB Approval')

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

I Updated 
find_real_file.png

find_real_file.png

find_real_file.png