08-21-2017 05:10 PM - edited 03-14-2019 05:32 PM
Hey everyone, I am trying to create a custom function that will ultimately announce the number of callers in a particular queue. We have 39 different queues with a naming convention of "Queue1, queue 2..." where the numerical value is the only difference in queue names. As opposed of creating 39 different if checks I was exploring the use of custom functions, and am getting mixed reviews on whether it is possible to do via custom function. We are running v10.5 currently. Ultimately I would like something like:
if PV2 = Queue%1%, set PV8 = Queue%1%,CallsInQ+1
Any assistance would be greatly appreciated.
Thanks.
Solved! Go to Solution.
08-21-2017 06:02 PM
Not possible, unfortunately you can't generate the name of an object on the fly. Maybe just one big custom function with all the PQs in it and use a index to get the right number. This idea is untested and really I've not considered much beyond these few seconds, but it could work in theory.
david
08-21-2017 06:02 PM
Not possible, unfortunately you can't generate the name of an object on the fly. Maybe just one big custom function with all the PQs in it and use a index to get the right number. This idea is untested and really I've not considered much beyond these few seconds, but it could work in theory.
david
08-22-2017 05:28 AM
Thanks David. We are upgrading to 11.5 in a few months. I assume that functionality was not added in that version either?
08-22-2017 08:39 AM - edited 08-22-2017 08:39 AM
Chad,
Reach out to me offline... I have a solution that could possibly work.
08-22-2017 08:46 AM
08-22-2017 08:49 AM
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