Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: raza990 on October 08, 2015, 08:36:29 AM

Title: Change Dispaly Name Of Call Type In CCpulse
Post by: raza990 on October 08, 2015, 08:36:29 AM
Hello,

I have a question regarding CCPulse:

Is it possible to change the displayed text in CCPulse from “CallInbound” to “EmailInbound” in the column for the email status?

Customer wants any references to “Call” replaced with the word “Email” when the status is pertaining to the Email media.
Title: Re: Change Dispaly Name Of Call Type In CCpulse
Post by: cavagnaro on October 08, 2015, 11:19:00 AM
Modify the template
Title: Re: Change Dispaly Name Of Call Type In CCpulse
Post by: raza990 on October 08, 2015, 01:26:03 PM
I'm not talking about alias name. I need status renaming.

For example:

Agent1 recieved an email interaction, when he handling an email interaction then his status will be "CallInbound" - I want to change/rename that "CallInbound" status.

I thought, it can be done via ccpulse threshold and action - I can create threshold but I can't find how the action can be made.
Title: Re: Change Dispaly Name Of Call Type In CCpulse
Post by: Kubig on October 08, 2015, 01:46:10 PM
Within "out-of-box" views it is not possible. You can only built own formula and make the translation there, directly within report view.
Title: Re: Change Dispaly Name Of Call Type In CCpulse
Post by: raza990 on October 08, 2015, 02:22:18 PM
Can you guys share or refer me any guide/documentation where I can learn JScript formula's.
Title: Re: Change Dispaly Name Of Call Type In CCpulse
Post by: cavagnaro on October 08, 2015, 03:16:53 PM
Search the forum, many samples have been shared
Title: Re: Change Dispaly Name Of Call Type In CCpulse
Post by: raza990 on October 12, 2015, 12:52:45 PM
I tired to find but no luck  :( Can you please provide the URL of that topics ?

I've also tired to customize CCPulse formula's but got no luck :(
Title: Re: Change Dispaly Name Of Call Type In CCpulse
Post by: Kubig on October 12, 2015, 02:26:54 PM
Try to post your formula, where you tried that.
Title: Re: Change Dispaly Name Of Call Type In CCpulse
Post by: raza990 on October 12, 2015, 02:40:15 PM
First to tell you that I don't know about JScript and I never worked on it so might be I tried stupid logics in formula so sorry for that.

But I would appreciate if you can correct me or help me in creating a formula which can display agent status as EmailInbound instead of CallInbound.

[u][b]1st Try:[/b][/u]
CallTypeString();

function CallTypeString()
{
if (ccpulse.group("Email").statistic("EmailStatus")=="CallInbound")
  return "EmailInbound";
if (ccpulse.group("Email").statistic("EmailStatus")=="NotReadyForNextCall")
  return "NotReadyForNextEmail";
return "";
}

[u][b]2nd Try:[/b][/u]

if(ccpulse.group("Email").statistic("EmailStatus") == "CallInbound")
return "EmailInbound"
else{"n/a"}

[color=red][u][b]NOTE:[/b][/u][/color]
EmailStatus is a formula for getting agent status only for email.
Title: Re: Change Dispaly Name Of Call Type In CCpulse
Post by: Kubig on October 12, 2015, 03:21:10 PM
I think, it cannot work properly, because the status stats always returns "string + timestamp". So the matching cannot be like that ("CallInbound (00:00:00)" is not equal to "CallInbound").
Title: Re: Change Dispaly Name Of Call Type In CCpulse
Post by: Tambo on October 15, 2015, 09:57:02 AM
try this

result.Text = CalculateReason();

function CalculateReason()

{

if (ccpulse.Real_Time.CallInbound("CallInbound")>0)
  { return "Email Inbound ";}

}
Title: Re: Change Dispaly Name Of Call Type In CCpulse
Post by: raza990 on October 15, 2015, 10:23:03 AM
The script is not validating - Error prompted:

Error in formula: Object doen't support this property or method
Line:6 column :1

???
Title: Re: Change Dispaly Name Of Call Type In CCpulse
Post by: Tambo on October 15, 2015, 10:58:44 AM
the expression is valid,
are you inserting the value of the IF staement from the lower window or just copying and pasting?
it has to come completely from your ccpulse.
open yiour IF with brackets then click on call inbound in bottom window etc
Title: Re: Change Dispaly Name Of Call Type In CCpulse
Post by: raza990 on October 15, 2015, 02:00:20 PM
Now script is valid - but this script is displaying "EmailInbound" even we have agent status "NotReadyForNextCall".

So this script can display but it won't chnage display name on status specific. like:

EmailInbound for CallInbound, NotReadyForNextEmail for NotReadyForNextCall etc.
Title: Re: Change Dispaly Name Of Call Type In CCpulse
Post by: Tambo on October 15, 2015, 03:27:16 PM
if you create a filter for each state in the same fashion then apply it you get what you're looking for
Title: Re: Change Dispaly Name Of Call Type In CCpulse
Post by: raza990 on October 16, 2015, 08:51:57 AM
Yes, filters can provide the display name - but it seems not possible for me because I've already a formula for agent email status which gives only that status which is on email channel. So in formula you sent, only statistics can be put in it. I tried email channel status formula in display text formula but it gives an error.

Title: Re: Change Dispaly Name Of Call Type In CCpulse
Post by: Tambo on October 16, 2015, 11:22:23 AM
so are you looking for time in that state or something?