cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
882
Views
0
Helpful
3
Replies

uccx 8 weekend scheduled scripts

iitfreight70
Level 1
Level 1

  I have a script that call center  calls come into queue every Saturday but the user would like for the script to run every 1st and 3rd Saturday. 

I need some examples how to change the script from every saturday to 1st and 3rd saturday of every month. 

3 Replies 3

Andrew Skelly
Level 7
Level 7

The date of the first and third saturday of every month will change (obviously) every month and every year.  I think the best way to accomplish what you are looking for is to compare the current date against a list (such as an XML document) that defines the specific dates you want to invoke the script.

I currently use this logic for determining holidays.

I attached a shot of how this looks in the script (date.bmp).  Basically what I am doing is setting the current date, then comparing that to my predefined dates in my XML document (xml.bmp) and if the result is "True", then follow that logic (using an "If" step).

You'll need to update your date list every year, but it will also allow you to add additional dates to the list if you need to, without messing with the script.  Conversely you can also remove dates if needed.

Please rate helpful posts by clicking the thumbs up!

Hi

If you are on Premium UCCX, try some of the java examples here to get started : http://stackoverflow.com/questions/76223/get-last-friday-of-month-in-java

You would want to work out the first and third saturdays, then compare to today.

Aaron

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!

@aaronharrison - I didn't know this for a long time either, but Enhanced can also process Java blocks.

About Expression and Java Licensing

Expressions are validated against installed licenses to make sure that they do not violate license

agreements. This validation is performed by the Cisco CRS Engine whenever a script is loaded or

whenever a prompt template or grammar template is accessed and evaluated.

For script expressions containing TTS or Java features to work during runtime, you must have either a

Cisco Unified IP IVR, a Cisco Unified CCX Enhanced, or a Cisco Unified CCX Premium license.

Note  In Cisco Unified CCX Standard, you can enter only simple expressions unless you also have a Java

license. You automatically have a Java license with the other four Cisco Unified CCXproducts.

Source:

http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/crs/express_8_5/programming/guide/uccx851_exp_lang.pdf