How to show a message if a user is a VIP in Agent Workspace

Susan Davidson
Giga Guru

How do i make a message show on the agent workspace if a user who is selected in the caller_id field has their vip field checked on the user record.

 

i created an on change client script (see below)

It does nothing. I have tried unchecking the isolate script and the global options and it still doesn't show a message when a vip user is selected.

Where did i go wrong?

 

find_real_file.png

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

try this

if(ref.vip.toString() == 'true')

Regards
Ankur

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

View solution in original post

5 REPLIES 5

I had tried that and it didn't work unfortunately!. Ankur's answer did tho!