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.
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.
1st Try:
CallTypeString();
function CallTypeString()
{
if (ccpulse.group(“Email”).statistic(“EmailStatus”)==“CallInbound”)
return “EmailInbound”;
if (ccpulse.group(“Email”).statistic(“EmailStatus”)==“NotReadyForNextCall”)
return “NotReadyForNextEmail”;
return “”;
}
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”).
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
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.