10-09-2018 07:05 AM - edited 03-14-2019 06:31 PM
Trying to use dynamic precision queues and need assistance with the formula editor.
Was going to use an if function and have it check the calltype ID, one calltype ID goes to one queue, all other calltype ID's go to the other queue.
Was using something like
if(call.calltypeid==XXXXX, PQ.XXXA, PQ.XXXB)
Solved! Go to Solution.
10-09-2018 07:30 AM
Sorry, want to use calltypeID. I edited the original post.
We want one certain calltypeID to go to one queue and all other calltypeID's go to a different queue. I'm just not certain how to set it to the PQ name. I receive an error when I try to save the formula.
if(call.calltypeID==11414,PQ.ITSC_OSS,PQ.ITSC)
10-09-2018 08:14 AM
There are couple of ways to handle this.
In your script, For every Call Type IF condition – you can use “set variable” node to set the PQ name in one of the call variable (for example, in set variable node, Call.PeripheralVariable1 = “Sales_PQ”).
And then on the Precision Queue node, you set that PQ to be “Dynamically”, Find by Precision Queue Name, click on the Formula editor – and set it to “Call.PeripheralVariable1”
Sample Dynamic PQ example attached
10-09-2018 07:14 AM
you want to use call id or call type id ? i see you used calltype id in formula.
"one call ID goes to one queue, all other call ID's go to the other queue." -- if you are going to send all other calls to other queue you can just use the negative path and route the different queue right ?
10-09-2018 07:30 AM
Sorry, want to use calltypeID. I edited the original post.
We want one certain calltypeID to go to one queue and all other calltypeID's go to a different queue. I'm just not certain how to set it to the PQ name. I receive an error when I try to save the formula.
if(call.calltypeID==11414,PQ.ITSC_OSS,PQ.ITSC)
10-09-2018 08:14 AM
There are couple of ways to handle this.
In your script, For every Call Type IF condition – you can use “set variable” node to set the PQ name in one of the call variable (for example, in set variable node, Call.PeripheralVariable1 = “Sales_PQ”).
And then on the Precision Queue node, you set that PQ to be “Dynamically”, Find by Precision Queue Name, click on the Formula editor – and set it to “Call.PeripheralVariable1”
Sample Dynamic PQ example attached
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide