Hello, I recently encountered a problem with a script using the logged agent count treatment. It always seemed to come back as TRUE in the argument no matter how many agents where logged in. Here is the script example. It would always send calls to the overflow even when agents were available.m I have left out the end if statements so assume they are where they are supposed to be.
If logged agent count customer_service = 0
then execute section Gotverflow
else if not out of service customer_service
then queue to skillset customer_service with priority 1
section Goto_overflow
route call Overflow_treatment
I made this change to the script and resolved the issue but am not certain why the logged agent intrinsic would not work in the previous example.
If out of service customer_service
then route call Overflow_treatment
else if not out of service customer_service
then queue to skillset customer_service with priority 1
If logged agent count customer_service = 0
then execute section Gotverflow
else if not out of service customer_service
then queue to skillset customer_service with priority 1
section Goto_overflow
route call Overflow_treatment
I made this change to the script and resolved the issue but am not certain why the logged agent intrinsic would not work in the previous example.
If out of service customer_service
then route call Overflow_treatment
else if not out of service customer_service
then queue to skillset customer_service with priority 1