" /> Statistical day and time validation - Genesys CTI User Forum

Author Topic: Statistical day and time validation  (Read 1345 times)

Offline kalakshmanakumar

  • Newbie
  • *
  • Posts: 22
  • Karma: 0
Statistical day and time validation
« on: August 10, 2021, 08:08:55 AM »
Advertisement
[b]Statistical Days  -> Statistic tab ->Business day start  and Statistical Days  -> Statistic tab ->end [/b] this time how to validate from routing strategy.

[b]IsSpecialDay[StatisticalTable,StatisticalDay][/b] returns Boolean value if current days is listed in current statistical table then it will return 1 as true.

[b]IsSpecialDayEx[StatisticalTable,StatisticalDay,Timezone,UseTime][/b] returns Boolean value if current days is listed in current statistical table then it will return 1 as true.

above mentioned method, i can not validate the [b]business start and end time[/b].

my examples:

[b]IsSpecialDay[StatisticalTable_1,''][/b]
[b]IsSpecialDayEx[StatisticalTable_1,'','IST',true][/b]

If statistical day is like 08/09/2021 and Business start 08:00 AM end 02:00 PM  above methods will return whole day as a holiday but i want to validate day and time. the calls need to route to agent between 08:00 AM and 02:00 PM then after 2:00 PM customer will hear out of office message.

Is there is any way please let me know

Offline hsujdik

  • Hero Member
  • *****
  • Posts: 541
  • Karma: 30
Re: Statistical day and time validation
« Reply #1 on: August 10, 2021, 09:53:13 PM »
I usually use two tables to validate:

Table 1 contains the holidays. I check it and if it is not a holiday, continue to the second validation for the default routing, otherwise goes to exception;
Table 2 contains all the "open days of week" with statistical days for each day of week that the call center is open. If it returns true, then proceed to the default routing. Otherwise, goes to the exception.

Check if this helps you

Regards

Offline terry

  • Sr. Member
  • ****
  • Posts: 328
  • Karma: 35
Re: Statistical day and time validation
« Reply #2 on: August 13, 2021, 07:15:57 PM »
The approach like IsSpecialDayEx[StatisticalTable_1,'','IST',true] worked for quite well - it returned true/false based on current time (not only date).

May be check configuration or contact tech support.