×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Script Variables

Script Variables

Script Variables

(OP)
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

RE: Script Variables

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.

RE: Script Variables

(OP)
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


RE: Script Variables

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

RE: Script Variables

(OP)
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?

RE: Script Variables

* 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

RE: Script Variables

(OP)
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

RE: Script Variables

Are you sure the boolean is a global variable?
Can you post that piece of the script again?

RE: Script Variables

(OP)
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

RE: Script Variables

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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close