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

Script Variables

Status
Not open for further replies.

phonedudeSr

IS-IT--Management
Oct 5, 2011
265
US
I am new to Symposium, have been on the Cisco/Genesys solution. I created the following script, however when I tried to validate it I got an errors:
Error: 20509 Script compiling failed.
Line: 26 Position: 4 Code: 4100 Error: An undefined identifier is encountered.
Line: 26 Position: 12 Code: 4077 Error: Incompatible types in Equal relational expression.
Line: 40 Position: 27 Code: 4100 Error: An undefined identifier is encountered.
Line: 45 Position: 27 Code: 4100 Error: An undefined identifier is encountered.
Line: 50 Position: 27 Code: 4100 Error: An undefined identifier is encountered.
Line: 92 Position: 27 Code: 4100 Error: An undefined identifier is encountered.

Source: CSriptWrapOAM.ScriptCOM.1

I realize that there was probably some variables that should have been created for the script. However, when I attempted to create them I could get them associated to the script in Script Variable Properties. Could anyone provide directions. Thanks
 
Either provide us what you have at each of the position reported for each line or paste the entire line for all of the lines with errors.
 
This is the complete script:

/*
___________________________________________________________________________________________

NOC_One_sc
Programmers:

LIST OF VARIABLES
NOC_pri : Inbound Priority Level
NOC_sklist : Skillset Variable
NOC_boo : Call Force Option to VM

NOC_RanOne_vm : Voice Segment (Appl ID 3003)for NOC_RAN:1...All Agents Busy
NOC_RanTwo_vm : Voice Segment (Appl ID 3003)for NOC_RAN:2...All Agents Still Busy
NOC_RanThree_vm : Voice Segment (Appl ID 3003)for NOC_RAN:3...Extremely High Call Volume
NOC_RanFour_vm : Voice Segment (Appl ID 3003)for NOC_RAN:4...
NOC_RanFive_vm : Voice Segment (Appl ID 3003)for NOC_RAN:5...
NOC_RanSix_vm : Voice Segment (Appl ID 3003)for NOC_RAN:6...
NOC_RanSeven_vm : Voice Segment (Appl ID 3003)for NOC_RAN:7...
NOC_RanEight_qv : Voice Segment (Appl ID 3003)for NOC_RAN:8...Press 1 stay in queue or 8 to leave message
NOC_RanNine_qv : Voice Segment (Appl ID 3003)for NOC_RAN:9...Press 1 stay in queue or auto transfer to vm
___________________________________________________________________________________________

*/

SECTION Start_sec

IF NOC_Boo= TRUE THEN
EXECUTE closed_sec
END IF

IF NOT OUT OF SERVICE NOC_One_SK THEN
QUEUE TO SKILLSET NOC_One_SK WITH PRIORITY NOC_pri

WAIT 2

ELSE
EXECUTE closed_sec
END IF

GIVE CONTROLLED BROADCAST ANNOUNCEMENT
PLAY PROMPT VOICE SEGMENT NOC_RanOne_vm

WAIT 15

GIVE CONTROLLED BROADCAST ANNOUNCEMENT
PLAY PROMPT VOICE SEGMENT NOC_RanTwo_vm

WAIT 20

GIVE CONTROLLED BROADCAST ANNOUNCEMENT
PLAY PROMPT VOICE SEGMENT NOC_RanThree_vm

/*
_____________________________________________________________________________

The following section repeats until call is answered or caller hangs up.
The repeat section will run a Voice Segment variable every 50 seconds.

Application Name: NOC_RAN
Application ID : 3003
NOC Recorded Announcements - Prompt IDs 1 thru 6

Voice Segment Script Variable Prompt ID Attributes List of Values

NOC_One_one_vm Prompt ID #1 ENGLISH: NOC_RAN:1 "Busy.."
NOC_One_two_vm Prompt ID #2 ENGLISH: NOC_RAN:2 "Still busy..."
NOC_One_three_vm Prompt ID #3 ENGLISH: NOC_RAN:3 "Extremely high call volume..."
NOC_One_four_vm Prompt ID #4 ENGLISH: NOC_RAN:3
NOC_One_five_vm Prompt ID #5 ENGLISH: NOC_RAN:3
NOC_One_six_vm Prompt ID #6 ENGLISH: NOC_RAN:3

Only three Prompt IDs are currently being used.

Freddie Mac business area is responsible for making any changes to the
Script Variable Voice Segment assignment.
_____________________________________________________________________________

*/

WAIT 10

SECTION loop_sec

IF NOT QUEUED THEN
EXECUTE Start_sec
END IF

IF OUT OF SERVICE NOC_One_sk THEN
EXECUTE closed_sec
END IF

GIVE CONTROLLED BROADCAST ANNOUNCEMENT
PLAY PROMPT VOICE SEGMENT NOC_RanThree_vm

WAIT 15

IF NOT QUEUED THEN
EXECUTE Start_sec
END IF

IF OUT OF SERVICE NOC_One_sk THEN
EXECUTE closed_sec
END IF

EXECUTE loop_sec


/*
______________________________________________________________________________________

Calls are in this section due to Time and Date and or Skillset condition.
______________________________________________________________________________________

*/

SECTION closed_sec

ROUTE CALL 8481


 
IF NOC_Boo= TRUE THEN...I think you may need a space before the "="...IF NOC_Boo = TRUE THEN...
Then make sure your variable names match what is built in the system to how they are written in the script. Validate again and see what it clears. good luck
 
I put the space in, however I am still getting the same error. I tried to create the Boolean for it, but it does see the referencing scripts. do you think that may be the problem?
 
* With a BOOLEAN type you should ask "IF NOT Noc_BOO THEN", as a BOOLEAN is either True or False. In this case the state "FALSE" will be treated
IF NOT Noc_BOO THEN
EXECUTE closed_sec
END IF
* Make sure your Announcement variables (NOC_RanOne_vm, etc) are set as Voice_Segments
 
I am still getting the error 4 Code: 4100 Error: An undefined identifier is encountered. When I am trying to create the Boolean Variable NOC_boo, I can't associate the referring script, it will not let me input. Any Suggestions
 
Are you sure the boolean is a global variable?
Can you post that piece of the script again?
 
The Boolean variable is not defined, when I try to create, it doesn't all me to reference the scripts. Same for Voice Segments.
Here is the complete script.

LIST OF VARIABLES
NOC_pri : Inbound Priority Level
NOC_sklist : Skillset Variable
NOC_boo : Call Force Option to VM

NOC_RanOne_vm : Voice Segment (Appl ID 3003)for NOC_RAN:1...All Agents Busy
NOC_RanTwo_vm : Voice Segment (Appl ID 3003)for NOC_RAN:2...All Agents Still Busy
NOC_RanThree_vm : Voice Segment (Appl ID 3003)for NOC_RAN:3...Extremely High Call Volume
NOC_RanFour_vm : Voice Segment (Appl ID 3003)for NOC_RAN:4...
NOC_RanFive_vm : Voice Segment (Appl ID 3003)for NOC_RAN:5...
NOC_RanSix_vm : Voice Segment (Appl ID 3003)for NOC_RAN:6...
NOC_RanSeven_vm : Voice Segment (Appl ID 3003)for NOC_RAN:7...
NOC_RanEight_qv : Voice Segment (Appl ID 3003)for NOC_RAN:8...Press 1 stay in queue or 8 to leave message
NOC_RanNine_qv : Voice Segment (Appl ID 3003)for NOC_RAN:9...Press 1 stay in queue or auto transfer to vm
___________________________________________________________________________________________

*/

SECTION Start_sec

IF NOC_Boo= TRUE THEN
EXECUTE closed_sec
END IF

IF NOT OUT OF SERVICE NOC_One_SK THEN
QUEUE TO SKILLSET NOC_One_SK WITH PRIORITY NOC_pri

WAIT 2

ELSE
EXECUTE closed_sec
END IF

GIVE CONTROLLED BROADCAST ANNOUNCEMENT
PLAY PROMPT VOICE SEGMENT NOC_RanOne_vm

WAIT 15

GIVE CONTROLLED BROADCAST ANNOUNCEMENT
PLAY PROMPT VOICE SEGMENT NOC_RanTwo_vm

WAIT 20

GIVE CONTROLLED BROADCAST ANNOUNCEMENT
PLAY PROMPT VOICE SEGMENT NOC_RanThree_vm

/*
_____________________________________________________________________________

The following section repeats until call is answered or caller hangs up.
The repeat section will run a Voice Segment variable every 50 seconds.

Application Name: NOC_RAN
Application ID : 3003
NOC Recorded Announcements - Prompt IDs 1 thru 6

Voice Segment Script Variable Prompt ID Attributes List of Values

NOC_One_one_vm Prompt ID #1 ENGLISH: NOC_RAN:1 "Busy.."
NOC_One_two_vm Prompt ID #2 ENGLISH: NOC_RAN:2 "Still busy..."
NOC_One_three_vm Prompt ID #3 ENGLISH: NOC_RAN:3 "Extremely high call volume..."
NOC_One_four_vm Prompt ID #4 ENGLISH: NOC_RAN:3
NOC_One_five_vm Prompt ID #5 ENGLISH: NOC_RAN:3
NOC_One_six_vm Prompt ID #6 ENGLISH: NOC_RAN:3

Only three Prompt IDs are currently being used.

Freddie Mac business area is responsible for making any changes to the
Script Variable Voice Segment assignment.
_____________________________________________________________________________

*/

WAIT 10

SECTION loop_sec

IF NOT QUEUED THEN
EXECUTE Start_sec
END IF

IF OUT OF SERVICE NOC_One_sk THEN
EXECUTE closed_sec
END IF

GIVE CONTROLLED BROADCAST ANNOUNCEMENT
PLAY PROMPT VOICE SEGMENT NOC_RanThree_vm

WAIT 15

IF NOT QUEUED THEN
EXECUTE Start_sec
END IF

IF OUT OF SERVICE NOC_One_sk THEN
EXECUTE closed_sec
END IF

EXECUTE loop_sec


/*
______________________________________________________________________________________

Calls are in this section due to Time and Date and or Skillset condition.
______________________________________________________________________________________

*/

SECTION closed_sec

ROUTE CALL 8481
 
Create the variable first. It will not show a referencing script. Once all of the variables are created add them to the script and validate. Has to be done in this order or you will see errors.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top