Contents Now Platform Capabilities Previous Topic Next Topic NotifyNow - getPreferredE164SMSNumber(GlideRecord user) Subscribe Log in to subscribe to topics and get notified when content changes. ... SAVE AS PDF Selected Topic Topic & Subtopics All Topics in Contents Share NotifyNow - getPreferredE164SMSNumber(GlideRecord user) Returns a user's preferred E.164-compliant phone number for SMS messages. Table 1. Parameters Name Type Description user GlideRecord or String The user record or the sys_id of a user to get the E.164-compliant phone number from. Table 2. Returns Type Description String The E.164-compliant phone number or null. var userID = "<user sys_id>"; var E164Number = new SNC.NotifyNow().getPreferredE164SMSNumber(userID); gs.log('the preferred phone number for sending SMS notifications is ' + E164Number + ' for user with id: ' + userID); On this page Send Feedback Previous Topic Next Topic
NotifyNow - getPreferredE164SMSNumber(GlideRecord user) Returns a user's preferred E.164-compliant phone number for SMS messages. Table 1. Parameters Name Type Description user GlideRecord or String The user record or the sys_id of a user to get the E.164-compliant phone number from. Table 2. Returns Type Description String The E.164-compliant phone number or null. var userID = "<user sys_id>"; var E164Number = new SNC.NotifyNow().getPreferredE164SMSNumber(userID); gs.log('the preferred phone number for sending SMS notifications is ' + E164Number + ' for user with id: ' + userID);
NotifyNow - getPreferredE164SMSNumber(GlideRecord user) Returns a user's preferred E.164-compliant phone number for SMS messages. Table 1. Parameters Name Type Description user GlideRecord or String The user record or the sys_id of a user to get the E.164-compliant phone number from. Table 2. Returns Type Description String The E.164-compliant phone number or null. var userID = "<user sys_id>"; var E164Number = new SNC.NotifyNow().getPreferredE164SMSNumber(userID); gs.log('the preferred phone number for sending SMS notifications is ' + E164Number + ' for user with id: ' + userID);