- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2022 10:21 PM
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?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2022 10:36 PM
Hi,
try this
if(ref.vip.toString() == 'true')
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2022 10:40 PM
I had tried that and it didn't work unfortunately!. Ankur's answer did tho!