Feedback

  • Contents
 

IS_Action_LogonAll

Definition

This action globally logs the agent into Dialer as well as all currently running campaigns. In addition, this action will automatically log an agent into any campaigns that start after the global logon occurs. If the agent has the Logon Campaign security right, the IS_Action_LogonAll action can NOT provide a global login. However, it will log the agent into any currently running campaigns.

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_LogonAll() {
  IS_Action_Logon.callback = function(error) {
    if (error) {
      console.error("IS_Action_LogonAll failed.");
    } else {
      console.log("IS_Action_LogonAll succeeded.");
    }
  }
}

Example

<head>
    <meta name="IS_Action_LogonAll">
    <script language="javascript">
        function IS_LogOnAll() {
            IS_Action_LogonAll.click();
        }
    </script>
</head>
<body>     <input type=button value="Logon All" onclick="IS_LogOnAll ();"> </body>