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.