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

Symposium calling script with a variable

Status
Not open for further replies.

jhross

Programmer
Apr 2, 2007
2
DK
Executing scripts is normally done by

EXECUTE SCRIPT <Script_Name>

Is is somehow possible to execute scrips by use of variables e.g.:

ASSIGN "MyScript" TO variable_Script_Name
EXECUTE SCRIPT <variable_Script_Name>
 
You can do that for skillsets, as there is a skillset variable; but there is not a script variable.
 
Hi, what's the reason for doing it this way?

You could have a single script (same messages, same with times etc), but within this you would use a skillset call variable (cv_skillset).

You then assign a value to cv_skillset based upon the CDN dialed (or DNIS if you use that).

WHERE CDN EQUALS
VALUE 12345 : ASSIGN sales TO cv_skillset
VALUE 54321 : ASSIGN claims TO cv_skillset
DEFAULT : ASSIGN bucket TO cv_skillset
END WHERE

Would this help?

DD
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top