Feedback

  • Contents
 

IS_Action_EndNonDialerCallScripting

Definition

This action tells Scripter to resume automatic login of an Agent to a new campaign after transitioning was delayed by IS_Action_BeginNonDialerCallScripting. Use IS_Action_BeginNonDialerCallScriptingto delay transitions, and IS_Action_EndNonDialerCallScripting to terminate the delay. These are bracketing functions so that multiple calls to IS_Action_BeginNonDialerCallScripting() and IS_Action_EndNonDialerCallScripting() can be nested.

Attributes

[callback]

The callback property ensures that this action executes asynchronously in Interaction Connect. Starting with 2018 R3, all Interaction Scripter actions (IS_Actions) provide a callback property for use in Connect scripts only. In the example below, statements inside the highlighted callback function block execute only after the action completes. The callback will return an error if the action fails. See Writing custom scripts for Interaction Connect or Scripter .NET.

Here's how to use the .callback property in a script for Interaction Connect:

function IS_Action_EndNonDialerCallScripting() {
  IS_Action_EndNonDialerCallScripting.callback = function(error) {
    if (error) {
      console.error("IS_Action_EndNonDialerCallScripting failed.");
    } else {
      console.log("IS_Action_EndNonDialerCallScripting succeeded.");
    }
  }
}