---
sourceDocument: Xanadu API Reference
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/api-reference

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# NotifyScoped - Scoped

# NotifyScoped - Scoped {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 10 minutes to read

The NotifyScoped API allows you to interact with Notify calls and
SMS messages using scripts.

Execute the NotifyScoped class and its associated methods from the
`sn_notify` namespace.

## NotifyScoped - call(String notifyPhoneNumber, String toPhoneNumber, GlideRecord
conferenceCall, GlideRecord conferenceCallRecord, String userSysId, String groupSysId,
GlideRecord sourceRecord) {#ariaid-title2}

Calls the specified E.164-compliant telephone number.
{#NotifyScoped-call_S_S_GR_GR_S_S_GR__table_qk4_txx_zfb__entry__3}

| Name | Type | Description |
|-|-|-|
| notifyPhoneNumber | String | Notify phone number from which to make the call. When you initiate a call, the outgoing call workflow for the number group associated with this number runs. Ensure this workflow includes a join conference call activity to connect the user to the conference call. |
| toPhoneNumber | String | Phone number to call. Called numbers are added to the conference call. |
| conferenceCall | GlideRecord | Optional. If this parameter is passed in, the callers identified in the toPhoneNumber parameter are automatically joined into the conference call identified by this record. GlideRecord for the Notify Call \[notify_call\] table which identifies the conference call record. This record is automatically added to the outgoing call workflow scratchpad as the workflow.scratchpad.conference_call variable. |
| userSysId | String | Optional. Unique identifier (sys_id) of the user associated with the call. |
| groupSysId | String | Optional. Unique identifier (sys_id) of the group associated with the call. |
| sourceRecord | GlideRecord | Optional. Source record that prompted this call. |
[Table 1. Parameters]

{#NotifyScoped-call_S_S_GR_GR_S_S_GR__table_qk4_txx_zfb} {#NotifyScoped-call_S_S_GR_GR_S_S_GR__table_rk4_txx_zfb__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 2. Returns]

{#NotifyScoped-call_S_S_GR_GR_S_S_GR__table_rk4_txx_zfb}  
This example illustrates how to initiate a call to another phone number.

    var from = '+14048007337';
    var to = '+31646810495';

    // set up call
    new sn_notify.NotifyScoped().call(from, to);

This example illustrates how to initiate a call to a list of telephone numbers and
automatically join those numbers into a new conference call.

    var notify = new sn_notify.NotifyScoped();
    var from = '+14041234567';
    var participants = ['+31612345678', '+31623456789', '+31687654321'];

    // set up a conference call
    var conferenceCall = notify.conferenceCall();

    // set up the outbound calls for all conference call participants
    for (var i in participants) {
        var to = participants[i];
        notify.call(from, to, conferenceCall);
    }

## NotifyScoped - conferenceCall(GlideRecord sourceRecord) {#ariaid-title3}

Creates a new conference call GlideRecord.
{#NotifyScoped-conferenceCall__table_kcb_qcd_1gb__entry__3}

| Name | Type | Description |
|-|-|-|
| sourceRecord | GlideRecord | Optional. Record that initiated the request to create the conference call. Used to populate the source and table fields on notify_conference_call record. |
[Table 3. Parameters]

{#NotifyScoped-conferenceCall__table_kcb_qcd_1gb} {#NotifyScoped-conferenceCall__table_lcb_qcd_1gb__entry__2}

| Type | Description |
|-|-|
| GlideRecord | New Notify conference call \[notify_conference_call\] record. |
[Table 4. Returns]

{#NotifyScoped-conferenceCall__table_lcb_qcd_1gb}  

    var notify = new sn_notify.NotifyScoped();
    var from = '+14041234567';
    var participants = ['+31612345678', '+31623456789', '+31687654321'];

    // set up a conference call
    var conferenceCall = notify.conferenceCall();

    // set up the outbound calls for all conference call participants
    for (var i in participants) {
        var to = participants[i];
        notify.call(from, to, conferenceCall);
    }

## NotifyScoped - dequeueCall(GlideRecord callRecord) {#ariaid-title4}

Resumes a call after it was put in a queue (on hold).
Use this method to resume calls that were put in a queue with the
queueCall() method.
{#NotifyScoped-dequeueCall_GR__table_pzh_vmd_1gb__entry__3}

| Name | Type | Description |
|-|-|-|
| callRecord | GlideRecord | GlideRecord object on the Notify Call \[notify_call\] table with the held call you want to resume. |
[Table 5. Parameters]

{#NotifyScoped-dequeueCall_GR__table_pzh_vmd_1gb} {#NotifyScoped-dequeueCall_GR__table_qzh_vmd_1gb__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 6. Returns]

{#NotifyScoped-dequeueCall_GR__table_qzh_vmd_1gb}  
The following example shows how to reactivate a call that was put on hold.

    var notifyCallGr = new GlideRecord('notify_call');
    notifyCallGr.get('active participant sys id');
     
    if (notifyCallGr.isValid) {
        sn_notify.NotifyScoped.dequeueCall(notifyCallGr);
    }

## NotifyScoped - forwardCall(GlideRecord call, String destination, String dtmf) {#ariaid-title5}

Forwards the specified call to a different call recipient.
{#NotifyScoped-forwardCall_GR_S_S__table_bjm_332_1gb__entry__3}

| Name | Type | Description |
|-|-|-|
| call | GlideRecord or String | Notify call record or the telephony provider call ID, of the call to be forwarded. |
| destination | GlideRecord or String | Notify phone number record or an E.164-compliant phone number, of the caller to which to forward the call. |
| dtmf | String | Dual Tone - Multi Frequency (DTMF) code to send upon call connection. |
[Table 7. Parameters]

{#NotifyScoped-forwardCall_GR_S_S__table_bjm_332_1gb} {#NotifyScoped-forwardCall_GR_S_S__table_cjm_332_1gb__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 8. Returns]

{#NotifyScoped-forwardCall_GR_S_S__table_cjm_332_1gb}  
The following example shows how to forward a call to another phone number.

    var callID = 'CA92374b5aa561dab476a7001db6026edc'; // Twilio Call ID
    var phoneNumber = '+91406xxxxxxx';
    var dtmfTones = null;
     
    var notifyCallGr = new GlideRecord('notify_call');
    notifyCallGr.get('active participant sys id');
     
    if (notifyCallGr.isValid) {
        sn_notify.NotifyScoped.forwardCall(notifyCallGr(or) callID, phoneNumber, dtmfTones)
    }

## NotifyScoped - getAvailableClients(String notifyNumber) {#ariaid-title6}

Returns a list of client sessions that are available to receive calls.
{#NotifyScoped-getAvailableClients_S__table_ixd_kk2_1gb__entry__3}

| Name | Type | Description |
|-|-|-|
| notifyNumber | String | Valid Notify phone number. |
[Table 9. Parameters]

{#NotifyScoped-getAvailableClients_S__table_ixd_kk2_1gb} {#NotifyScoped-getAvailableClients_S__table_jxd_kk2_1gb__entry__2}

| Type | Description |
|-|-|
| Array | GlideRecord from the notify_client_session table for the specified phone number. Returns "0" if there are no available client sessions. |
[Table 10. Returns]

{#NotifyScoped-getAvailableClients_S__table_jxd_kk2_1gb}  
The following example shows how to use the getAvailableClients() method to index into the notify_client_session table and then iterate across all available Notify clients.

    var clientSessionGr = sn_notify.NotifyScoped.getAvailableClients('+185xxxxxxxx'); 
    // Here clientSessionGr is of type GlideRecord on 'notify_client_session' table.
     
    var isLoggedInUserAvailable = false;
    while (clientSessionGr.next()) {
      if (clientSessionGr.user == gs.getUserID())
        isLoggedInUserAvailable = clientSessionGr.available;
    }
    gs.info('isLoggedInUserAvailable - ' + isLoggedInUserAvailable);

## NotifyScoped - getPhoneNumbers() {#ariaid-title7}

Returns all phone numbers and short codes available to Notify.
{#NotifyScoped-getPhoneNumbers__table_kgn_1sc_1gb__entry__3}

| Name | Type | Description |
|-|-|-|
| None |   |   |
[Table 11. Parameters]

{#NotifyScoped-getPhoneNumbers__table_kgn_1sc_1gb} {#NotifyScoped-getPhoneNumbers__table_lgn_1sc_1gb__entry__2}

| Type | Description |
|-|-|
| Array | List of NotifyPhoneNumber objects, each object representing one phone number available to Notify. |
[Table 12. Returns]

{#NotifyScoped-getPhoneNumbers__table_lgn_1sc_1gb}  
This example illustrates how to obtain the Notify phone numbers and then iterate over the
list.

    // Instantiate notify
    var notify = new sn_notify.NotifyScoped();

    // Retrieve all available phone numbers
    var phoneNumbers = notify.getPhoneNumbers();

    // Iterate over phone numbers
    for (var i = 0; i < phoneNumbers.length; i++) {
      var number = phoneNumbers[i];

      // Perform any actions using each phone number

    }

## NotifyScoped - getShortCodes() {#ariaid-title8}

Returns all short codes available to Notify.
{#NotifyScoped-getShortCodes__table_y3d_z5c_1gb__entry__3}

| Name | Type | Description |
|-|-|-|
| None |   |   |
[Table 13. Parameters]

{#NotifyScoped-getShortCodes__table_y3d_z5c_1gb} {#NotifyScoped-getShortCodes__table_z3d_z5c_1gb__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 14. Returns]

{#NotifyScoped-getShortCodes__table_z3d_z5c_1gb}  
This example illustrates how to obtain the Notify short codes and then iterate over the
list.

    // Instantiate notify
    var notify = new sn_notify.NotifyScoped();

    // Retrieve all available shortcodes
    var shortCodes = notify.getShortCodes();

    // Iterate over phone numbers
    for (var i = 0; i < shortCodes.length; i++) {
      var shortCode = shortCodes[i];
      gs.log(shortCode.getNumber());

    //perform any actions using each shortcode

    }

## NotifyScoped - getTokens(GlideRecord, record) {#ariaid-title9}

Returns client tokens for any active telephony drivers for use in WebRTC or mobile
clients.
This method uses the currently logged-in user record as the client.
{#NotifyScoped-getTokens_GR__table_dsj_lsl_1gb__entry__3}

| Name | Type | Description |
|-|-|-|
| record | GlideRecord | GlideRecord to use to identify the Notify client, such as a group record or a user record. |
[Table 15. Parameters]

{#NotifyScoped-getTokens_GR__table_dsj_lsl_1gb} {#NotifyScoped-getTokens_GR__table_esj_lsl_1gb__entry__2}

| Type | Description |
|-|-|
| String | Web RTC tokens for the supported drivers, as a JSON string with the following format: {driverName1: "token1", driverName2: "token2"}, such as "TwilioDirect":"eyJhxxxx.eyJleHAiOiIxxxx.7fejxxx_mbLxxx" |
[Table 16. Returns]

{#NotifyScoped-getTokens_GR__table_esj_lsl_1gb}  
This example shows how to obtain the client tokens for the currently logged in user.

    // get Notify client Tokens per active Notify driver for the currently logged in user
    var json = new sn_notify.NotifyScoped().getTokens();
     
    // Parse the JSON that was return into a tokens object
    var tokens = JSON.parse(json);

    // Log line
    gs.log('Notify client tokens for the currently logged in user');

     // iterate over the driver tokens
    for (var driver in tokens) {
     	gs.log(driver + ' Driver token: ' + tokens[driver]);
    }

This example shows how to obtain the client tokens for every Notify group.

    // instantiate Notify
    var notify = new sn_notify.NotifyScoped.Notify();
     
    // get all Notify Groups
    var notifyGroup = new GlideRecord("notify_group");
    notifyGroup.query();
     
    // iterate over all notify groups
    while (notifyGroup.next()) {
      // generate Notify Client tokens per active Notify Driver for this group
      var json = notify.getTokens(notifyGroup);
      var tokens = JSON.parse(json);
     
      for (var driver in tokens) {
        gs.log(gs.getMessage("Notify Client token for {0} driver and Notify Group '{1}': {2}", [driver, notifyGroup.getValue('name'), tokens[driver]]));
      }
    }

This example illustrates how to obtain the client tokens for the active telephony
drivers.

    var notify = new sn_notify.NotifyScoped();
    var now_GR = new GlideRecord('sys_user');
    if (now_GR.get(gs.getUserID())) {
      gs.info(notify.getTokens(now_GR));
    }

Output:

    {"TwilioDirect":"eyJhxxxx.eyJleHAiOiIxxxx.7fejxxx_mbLxxx"}

## NotifyScoped - getTokenTTL(String owner) {#ariaid-title10}

Returns the maximum amount of time that a client session stays active for a specified
telephony driver before automatically timing out.
{#NotifyScoped-getTokenTTL_S__table_kym_hl2_1gb__entry__3}

| Name | Type | Description |
|-|-|-|
| owner | String | Name of the telephony driver for which to retrieve the session length. Valid values: * Twilio: for the old driver * TwilioDirect: for the new driver {#NotifyScoped-getTokenTTL_S__ul_ql5_vgc_1gb} |
[Table 17. Parameters]

{#NotifyScoped-getTokenTTL_S__table_kym_hl2_1gb} {#NotifyScoped-getTokenTTL_S__table_lym_hl2_1gb__entry__2}

| Type | Description |
|-|-|
| Integer | Maximum length of the session (in seconds). Default: 1800 seconds |
[Table 18. Returns]

{#NotifyScoped-getTokenTTL_S__table_lym_hl2_1gb}  
The following example shows how to properly call this method and the associated response.
It also shows what is returned if an invalid driver is passed.

    var owner = "TwilioDirect";  // Valid driver
    var ttl = SNC.Notify.getTokenTTL(owner);
    gs.info("Token TTL for " + owner + " --> " + ttl);
     
    owner = "Abcxyz";  // Invalid driver
    ttl = SNC.Notify.getTokenTTL(owner);
    // For an invalid driver, we throw NoSuchNotifyDriverException saying that Abcxyzdriver is not available
    // and return the default value of TTL
    gs.info("Token TTL for " + owner + " --> " + ttl); 

## NotifyScoped - hasCapability(String notifyPhoneNumber, String capability) {#ariaid-title11}

Determines whether the specified phone number has the specified capability.
The telephony driver associated with the phone number contains a list of all of the
capabilities of the phone.  
Note:  
In the base system, the Notify JS driver only has 'show_speakers' as a capability; this can be modified.
{#NotifyScoped-hasCapabilitiy_S_S__table_b3l_2n2_1gb__entry__3}

| Name | Type | Description |
|-|-|-|
| notifyPhoneNumber | String | Phone number for which to check for the specified capability. |
| capability | String | Capability to detect. The string text must be an exact match to what is in the phone. |
[Table 19. Parameters]

{#NotifyScoped-hasCapabilitiy_S_S__table_b3l_2n2_1gb} {#NotifyScoped-hasCapabilitiy_S_S__table_c3l_2n2_1gb__entry__2}

| Type | Description |
|-|-|
| Boolean | Flag that indicates whether the specified phone has the specified capability. * true: phone has the capability * false: phone does not have the capability {#NotifyScoped-hasCapabilitiy_S_S__ul_ryg_y2g_yfb} |
[Table 20. Returns]

{#NotifyScoped-hasCapabilitiy_S_S__table_c3l_2n2_1gb}  
This example shows how to check if a phone has a specific capability.

    // Each driver has a defined set of capabilities.

    var capability = 'show_speakers';
    gs.info(sn_notify.NotifyScoped.hasCapability('+185xxxxxxxx', capability)); // true
     
    capability = 'send_sms';
    gs.info(sn_notify.NotifyScoped.hasCapability('+185xxxxxxxx', capability)); // false

## NotifyScoped - kick(GlideRecord participant) {#ariaid-title12}

Removes the specified caller from the current Notify conference call.
{#NotifyScoped-kick_GR__table_iby_22d_1gb__entry__3}

| Name | Type | Description |
|-|-|-|
| participant | GlideRecord | GlideRecord object containing the Notify Participant \[notify_participant\] record of the caller to remove from the conference call. |
[Table 21. Parameters]

{#NotifyScoped-kick_GR__table_iby_22d_1gb} {#NotifyScoped-kick_GR__table_jby_22d_1gb__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 22. Returns]

{#NotifyScoped-kick_GR__table_jby_22d_1gb}  
This example shows how to remove a participant from a call.

    var participant = new GlideRecord('notify_participant');
    participant.get('<sys_id>');
    if (participant.isValid()) {
        new sn_notify.NotifyScoped().kick(participant);
    }

## NotifyScoped - modifyCall(GlideRecord callRecord, NotifyAction notifyAction) {#ariaid-title13}

Performs one or more activities on an active Notify phone call.
Use this method to change the behavior of a call. For example, transferring a call, playing audio, or forcing a hangup.  
Note:  
The scoped implementation of this method only supports custom Notify activities. Unlike the global implementation, it does not provide a NotifyAction API. For details on how to create a custom Notify activity, see [Notify workflow activities](https://www.servicenow.com/docs/access?context=c_NotifyActivities&version=xanadu&pubname=xanadu-servicenow-platform&ft:locale=en-US).
{#NotifyScoped-modifyCall_GR_NA__table_lyc_2kd_1gb__entry__3}

| Name | Type | Description |
|-|-|-|
| callRecord | GlideRecord | Notify Call \[notify_call\] record of the call for which to apply the actions. |
| notifyAction | NotifyAction | NotifyAction object describing one or more activities to perform on the call. |
[Table 23. Parameters]

{#NotifyScoped-modifyCall_GR_NA__table_lyc_2kd_1gb} {#NotifyScoped-modifyCall_GR_NA__table_myc_2kd_1gb__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 24. Returns]

{#NotifyScoped-modifyCall_GR_NA__table_myc_2kd_1gb}

## NotifyScoped - mute(GlideRecord participantRecord) {#ariaid-title14}

Mutes the specified conference call participant.
{#NotifyScoped-mute_GR__table_gyh_5fd_1gb__entry__3}

| Name | Type | Description |
|-|-|-|
| participantRecord | GlideRecord | GlideRecord from the notify_participant table for the participant to mute. |
[Table 25. Parameters]

{#NotifyScoped-mute_GR__table_gyh_5fd_1gb} {#NotifyScoped-mute_GR__table_hyh_5fd_1gb__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 26. Returns]

{#NotifyScoped-mute_GR__table_hyh_5fd_1gb}  
The following example shows how to mute a caller.

    var notifyParticipantGr = new GlideRecord('notify_participant');
    notifyParticipantGr.get('active participant sys id');
     
    if (notifyParticipantGr.isValid) {
        sn_notify.NotifyScoped.mute(notifyParticipantGr);
    }

## NotifyScoped - queueCall(GlideRecord callRecord) {#ariaid-title15}

Puts the specified call into a queue (on hold).
Resume a queued call using the dequeueCall() method.
{#NotifyScoped-queueCall_GR__table_k24_rld_1gb__entry__3}

| Name | Type | Description |
|-|-|-|
| callRecord | GlideRecord | GlideRecord object of the Notify Call record (notify_call table) to put on hold. |
[Table 27. Parameters]

{#NotifyScoped-queueCall_GR__table_k24_rld_1gb} {#NotifyScoped-queueCall_GR__table_l24_rld_1gb__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 28. Returns]

{#NotifyScoped-queueCall_GR__table_l24_rld_1gb}  

    var call = new GlideRecord('notify_call');
    call.get('<call record sys_id>');
    if (call.isValid()) {
        new sn_notify.NotifyScoped().queueCall(call);
    }

## NotifyScoped - sendBulkSMS(NotifyPhoneNumber notifyPhoneNumber, String toPhoneNumbers,
String messageBody, GlideRecord source) {#ariaid-title16}

Sends a specified SMS message to the specified list of Notify clients (phone
numbers).
{#NotifyScoped-sendBulkSMS_NPN_S_S_GR__table_ss5_g1d_1gb__entry__3}

| Name | Type | Description |
|-|-|-|
| notifyPhoneNumber | [NotifyPhoneNumber](https://servicenow-prod.fluidtopics.net/NdEOh~xDikwAK6FYj~Bz0A#NPNScopedAPI "The NotifyPhoneNumber API allows you to query information about a Notify phone number.") | Phone number from which the SMS message is being sent. |
| toPhoneNumbers | String | Comma separated list phone numbers to which to send the SMS message. Format: E.164-compliant |
| messageBody | String | SMS text to send. |
| source | [GlideRecord](https://servicenow-prod.fluidtopics.net/Z64TK~kWnpWTEG5bCPvZuQ#c_GlideRecordScopedAPI "The scoped GlideRecord API is used for database operations.") | Source record that prompted this SMS message, such as an incident. |
[Table 29. Parameters]

{#NotifyScoped-sendBulkSMS_NPN_S_S_GR__table_ss5_g1d_1gb} {#NotifyScoped-sendBulkSMS_NPN_S_S_GR__table_ts5_g1d_1gb__entry__2}

| Type | Description |
|-|-|
| String | Null |
[Table 30. Returns]

{#NotifyScoped-sendBulkSMS_NPN_S_S_GR__table_ts5_g1d_1gb}  
This example shows how to send an SMS message to multiple phone numbers (bulk SMS).

    var incidentGr = new GlideRecord('incident');
    incidentGr.get('active incident sys_id');
    if (incidentGr.isValid()) {
        sn_notify.NotifyScoped.sendBulkSMS('+15413970605', ['+919885XXXXXX', '+919775XXXXXX'], 'Test automation message', incidentGr);
    }

## NotifyScoped - sendSMS(NotifyPhoneNumber notifyPhoneNumber, String toPhoneNumber, String
messageBody, GlideRecord source) {#ariaid-title17}

Sends an SMS text message to an E.164-compliant phone number.
This method creates a new record on the Notify Message \[notify_message\] table and
associates it with the source record.
{#NotifyScoped-sendSMS_NPN_S_S_GR__table_zjt_1yc_1gb__entry__3}

| Name | Type | Description |
|-|-|-|
| notifyPhoneNumber | [NotifyPhoneNumber](https://servicenow-prod.fluidtopics.net/NdEOh~xDikwAK6FYj~Bz0A#NPNScopedAPI "The NotifyPhoneNumber API allows you to query information about a Notify phone number.") | Notify phone number or short code to which to send this SMS message. |
| toPhoneNumber | String | E.164-compliant phone number to which to send the SMS message. |
| messageBody | String | SMS text message. |
| source | [GlideRecord](https://servicenow-prod.fluidtopics.net/Z64TK~kWnpWTEG5bCPvZuQ#c_GlideRecordScopedAPI "The scoped GlideRecord API is used for database operations.") | Source record that prompted this SMS message, such as an incident. |
[Table 31. Parameters]

{#NotifyScoped-sendSMS_NPN_S_S_GR__table_zjt_1yc_1gb} {#NotifyScoped-sendSMS_NPN_S_S_GR__table_akt_1yc_1gb__entry__2}

| Type | Description |
|-|-|
| String | Unique message SID; stored in the Notify Message \[notify_message\] record as message_id. |
[Table 32. Returns]

{#NotifyScoped-sendSMS_NPN_S_S_GR__table_akt_1yc_1gb}  
The following example shows how to send an SMS message.

    var incidentGr = new GlideRecord('incident');
    incidentGr.get('active incident sys_id');
    if (incidentGr.isValid()) {
        sn_notify.NotifyScoped.sendSMS('+15413970605', '+919885XXXXXX', 'Test automation message', incidentGr);
    }

## NotifyScoped - unmute(GlideRecord participantRecord) {#ariaid-title18}

Unmutes the specified conference call participant.
{#NotifyScoped-unmute_GR__table_zk1_qgd_1gb__entry__3}

| Name | Type | Description |
|-|-|-|
| participantRecord | GlideRecord | GlideRecord from the notify_participant table for the participant to unmute. |
[Table 33. Parameters]

{#NotifyScoped-unmute_GR__table_zk1_qgd_1gb} {#NotifyScoped-unmute_GR__table_al1_qgd_1gb__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 34. Returns]

{#NotifyScoped-unmute_GR__table_al1_qgd_1gb}  
This example shows how to unmute a specified call participant.

    var notifyParticipantGr = new GlideRecord('notify_participant');
    notifyParticipantGr.get('active participant sys id');
     
    if (notifyParticipantGr.isValid) {
        sn_notify.NotifyScoped.unmute(notifyParticipantGr);
    }


