I have the need of assigning a future start date/time and future end date/time via parameter values for special events outside of normal operating hours, which a ccx script can compare to the current date/time to determine next course of action. The comparison is done in a 4 level nested IF statements
IF currentdate >=parameterstartdate Then
IF currenttime >= parameterstarttime Then
IF currenttime <= parameterendtime Then
IF currentdate <=parameterenddate Then
set CallQue_Status = "open"
As a vb programmer, I wanting to create variables that convert date and time into intergers for the comparison, however I see CCX is java base and the GUI value expression builder date methods for assigning values are not making sense to me.
Is there a good video or doc for how to use the GUI expression builder or should I be trying to make these comparions with strings?
Cisco Unified Contact Center Express Editor Step Reference Guide Cisco Unified Contact Center Express Expression Language Reference Guide Cisco Unified Contact Center Express Getting Started with Scripts
You can also take a look at the screenshot that I attached which is how I would approach it, but note that this does not take Timezone into account.
You can also search for "holiday schedule" and there are a few additional ways to expand this.
That works in most instances, as you can see in the attached jpg, comparing hours seperately with end hour before a start time in relation to existing time does not awlays work. 11am > 10am AND 11am <3am =bad logic. This is resolve by just using the full date/time and ensuring you enter it correctly, second jpg.
Oddly however, removing the accept and terminate and making the second example a subflow from the priamry script does not do the comparision in the If statement correctly and leaves the CallQue_Status = "Debug"
Do I need to initalize the CurrentDate in the parent script and pass that to the subflow as well?
pretty simple, just passing the varible CallQue_Status In/Out which works ok, tried initalizing the CurrentDate in parent and also passing it which still calculates wrong. Added IF statement and variable to parent script, no issues, just don't work as part of subflow.
Try passing the special date / time information as well. I assume it's still hard coded for testing, but parameters are not checked for a script called as a subflow. The input mapping should be Start/End Date/Time and the output mapping should be callque_status.
You have reached the Cisco Logistics Support Center.. To Check Status of
your RMA, visit Product Returns & Replacements (RMA). Need help? Contact
us by Phone or Email. North Americas Phone: 1800 553 2447 Option 4
Email: email@example.com Europe Phone: +3...
The short answer is that you don't.... That isn't entirely true while at
the same time it kind of is, but for the most part you don't configure
the softkeys. You enable or disable them via TCL. Here is the long
answer. Be sure to read the whole thing or e...
Topology: IP Phone > Switches > Microsoft NPS setup to forward 802.1x
proxy to > ISE 2.1 patch 3 Authentication: EAP-TLS using Cisco MIC SANs
Phone Models 802.1X support? 802.1x flavor Addtl Comment EAP-MD5 EAP-TLS
Cisco 3905 Y Y N Cisco 6911 Y Y N Cisco ...