In incident form can you check whether a caller is VIP or not without using getReference() i
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2024 10:56 AM
This is the correct answer
BR
WHEN: Before
Insert/ update
(function executeRule(current, previous /*null when async*/ ) {
if (current.caller_id.vip == true) {//get the value of the caller Id
gs.addInfoMessage('CALLER is VIP');// show infomessage which confirm that the caller is VIP
} else {
gs.addErrorMessage('Is not VIP');//show infomessage which confirm that the caller is not VIP
}
})(current, previous);
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2024 07:42 AM
Are you looking for assistance regarding this info? Not sure what your question is.
If this information helped resolve your issue, please remember to mark response correct and thumbs up to help future community members on this information, thanks!