Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scripting problem on SCCS 5.0 - logged agent count instrinsic

Status
Not open for further replies.

atascoman

Technical User
Oct 10, 2003
868
US
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 Goto_Overflow
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

 
Try queueing to the customer_service skillset first, before checking the logged agent count.
 
You also need a WAIT 2 in there.

IF NOT OUT OF SERVICE customer_Service THEN
QUEUE TO SKILLSET customer_service
WAIT 2
ELSE
EXECUTE SECTION Goto_overflow
END IF
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top