INFO

This help page is for Studio. This information is also available for Desktop Studio.

Retrieves and displays the number of portsClosed Where information transfers, over a network, between a computer and a server. you are using in your business unitsClosed High-level organizational grouping used to manage technical support, billing, and global settings for your CXone Mpower system. in real time. The most common use of this action is in a script that verifies you have enough ports available, as shown in the phone script example. If you do not have enough ports available, a caller will most likely hear a busy signal rather than connecting to your contact center.

Supported Script Types

A square with a line branching from it that goes to three other squares.

Generic

Email Chat Phone Voicemail Work Item SMS

Input Properties

These properties define data that the action uses when executing.

Property

Description

Add Caption

Enter a short phrase that uniquely identifies this action in the script. The caption appears on the script canvas under the action icon.

All Contacts

The number of all active contacts that are currently running through CXone Mpower that are associated with your business.

Active Voice

The number of voice ports that are currently in use.

Active Email

The number of email ports that are currently in use.

Active Chat

The number of chat ports that are currently in use.

Email Ports Allocated

The number of ports that have been configured for email contacts.

Voice Ports Allocated

The number of ports that have been configured for voice contacts.

Active Voicemail

The number of voicemail ports that are currently in use.

Active Callback

The number of callbacks currently in-queue awaiting delivery. These calls do not consume a voice port while in this state. Note: best practice is to avoid allowing callbacks to accumulate to an amount greater than can be handled in a reasonable amount of time.

Result Branch Conditions

Result branch conditions allow you to create branches in your script to handle different outcomes when an action executes.

Condition

Description

Default

Path taken unless the script meets a condition that requires it to take one of the other branches. It is also taken if the action's other branches are not defined.

Script Example

This is an example to show how this action can be used in scripts. It is not intended to be a complete script. Additional scripting may be required.

This script is used to check the number of voice ports in use. Take notice of the early use of Info in the script to capture data on all the port types in use. If the percent of voice ports is less than 90%, the script returns to the beginning to check again.

The frequency of the check is determined using the now variable (in the Current Check Assign action) and the Last Check variable (in the Getvalue action). The NotifyDiff Assign action then subtracts Last Check from Current Check. The NotifyDiff (If action) then uses the NotifyDiff >900 expression to follow one of two branches. If the difference between last check and current check is less than 900 seconds (15 minutes), then the LastCheck value is removed, and the CurrentCheck value is placed in Putvalue. If the difference between last check and current check is greater than 900 seconds, then an email goes out from CXone Mpower to the customer, notifying them of the high use of voice ports.

Would you like to download this script?