In my post about Genesys CCPulse’s powerful and least used feature, I showed example of using JScript  language to retrieve skill details from Configuration database. One of the reader Robert left me comment about accessing skill details securely as database script will expose configuration database username and password.

High level data flow

If we need skill information and don’t want to access configuration database directly, we need an application which can do this job for us like below

Genesys CCPulse


In the above architecture, there are two options

  • Use Platform SDK to retrieve details from Configuration Server  – recommended
  • Access configuration database and retrieve skill details

In both cases, username and password are not exposed to CCPulse application user and data is returned from Application server.

For my internal testing, I developed application server to access configuration server using Platform SDK and exposed RESTful API

CCPulse - Web Access

CCPulse – Web Access

Sample Script

Script used to retrieve data from application server is as below

var employeeId = state.AgentID;
var strurl="http://localhost:49478/api/agent?employeeid=" + employeeId;
var WinHttpReq = new ActiveXObject("WinHttp.WinHttpRequest.5.1");
//  Create an HTTP request.
var temp = WinHttpReq.Open("GET", strurl, false);
//  Send the HTTP request.
//  Retrieve the response text.
strResult = WinHttpReq.ResponseText;

Personally, I am very excited about this.

Main drawback of CCPulse is that it only provides real-time snapshot and doesn’t have feature to analyse past events and supervisor have to wait for ETL process to complete for Infomart or CCA reports (anyway, I haven’t seen anybody using Infomart/CCA for intra-day operations yet).

Having able to communicate using RESTful API opens many possibilities to address above issues. For example, we can record threshold alerts,  send message notifications etc.. to help intra-day operations.