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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scripting HELP

Status
Not open for further replies.

spanton

Technical User
Aug 2, 2003
584
US
Is there anyway to check if an agent is login to the skillset before queuing. Below you will find example of the script


EVENT HANDLER
EVENT CALL ON HOLD : GIVE MUSIC 54
END HANDLER


WHERE DNIS EQUALS
VALUE 0167: QUEUE TO SKILLSET HCS_01_TEST WITH PRIORITY 6
DEFAULT: QUEUE TO SKILLSET HCS_01_MISC
END WHERE
 
here is another version of the script that is fail for incompatiable type at the two lines below where Dnis equals

EVENT HANDLER
EVENT CALL ON HOLD : GIVE MUSIC 54
END HANDLER






WHERE DNIS EQUALS

VALUE 0167: ASSIGN "HCS_01_TEST" TO a_sk_cv
DEFAULT : ASSIGN "HCS_01_MISC" TO a_sk_cv

END WHERE


SECTION Top

IF NOT LOGGED OUT AGENT 835326 THEN

EXECUTE Tech_diff

END IF

IF NOT OUT OF SERVICE a_sk_cv THEN

QUEUE TO SKILLSET a_sk_cv WITH PRIORITY a_call_pri_cv

WAIT 2

GIVE RAN 50

WAIT 45

END IF


SECTION Loop

WAIT 100
GIVE RAN 51

IF NOT QUEUED THEN

EXECUTE Top

END IF

IF AGE OF CALL > 10800 THEN

EXECUTE Tech_diff

END IF

EXECUTE Loop


SECTION Tech_diff

GIVE IVR 5966 WITH TREATMENT 95919
DISCONNECT


please HELP
 
Hmmm...gotta check the docs to make sure but I think you can't use "HCS_01_TEST" as an item value. Somewhere I get the thought that it must be an integer. I left you another post elsewhere about checking the agent status.
 
Thanks rfwhite, got the earlier post......trying it out now.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top