Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
Community Member

ICM Contact Center Enterprise Month Day Variable

I have a date variable and for some reason I am not able to get it working.  I dont think I am being a bone head and missing anything.

I want the call center to route calls to Team A between Oct 1st and Dec 7th ever year (true). Outside those dates calls can go to Team B (false).

Today Saturday December 7th I noticed the calls are routing to Team B.  They should should still be going to Team A till midnight.  Below is my if node statement that does not appear to be working.

Instead of being a true statement it is taking the false route.

In my mind:

If month is greater than or equal to Oct and Day is greater then or equal to the 1st of Oct


If month is less than or equal to Dec and Day is less then or equal to the 7th of Dec

Then you are a true statement


Where am I going wrong here?

Thanks in advance for any asssitance.


Everyone's tags (3)

ICM Contact Center Enterprise Month Day Variable

Maybe something simple, did you check the date/timezone of your central controllers?



ICM Contact Center Enterprise Month Day Variable

Hey Del. A few things. First, the evaluation on the date checks are incorrect. For example, to interrogate whether the month is October or greater you would simply query on month()>=10. Same logic structure applies for day. Also, the logic in general is flawed. Your current pseudo code would result in the statement always being true since it will ALWAYS be greater than 10/1 OR less than 12/7. The correct approach would be using an AND condition and even that gets a bit dicey since it's spanning several months so really it would be a combination of both AND and OR's. Just several lines of code that may be overcomplicating things IMO.

I personally would suggest going with the date function but of course it will require the year.


CreatePlease to create content