Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.
Versions
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store
Close

NotifyAction - addReject()

NotifyAction - addReject()

Reject an incoming call.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
RejectAction The action added to the NotifyAction object. Use the RejectAction object to define the reason for rejecting the call.

// instantiate NotifyAction
var notifyAction = new SNC.NotifyAction();

// reject the call
var rejectAction = notifyAction.addReject();
rejectAction.setReason('busy'); // 'busy' or 'rejected'