NotifyNow - mute(GlideRecord participant)

Mute a participant on a conference call.

Table 1. Parameters
Name Type Description
participant GlideRecord The conference call participant to mute.
Table 2. Returns
Type Description
Boolean True if the participant was muted, otherwise false.

var participantId = "<participant sys_id>";
var participant = new GlideRecord('notifynow_participant');
participant.get(participantId);
if (participant.isValid()) {
     // mute participant
     result = new SNC.NotifyNow().mute(participant);
     gs.log('participant muted: ' + result);
}