Genesys Cloud - Main

 View Only
Discussion Thread View
  • 1.  Open Schedule Evaluation

    Posted 11-24-2021 08:12
    Hello,

    I have two open schedules in a schedule group:

    Schedule 1: Business Hours M-F 8a - 5p

    Schedule 2: Early Closure Schedule Wed. 10a - 3p

    Based on my testing, Architect always chooses schedule 1 because it is active. However, it is logical to me that Architect would choose schedule 2 as it is has a more narrow time frame. I am used to PureConnect where it prioritizes a one-time schedule over daily. 

    Thanks in advance for help in this matter
    #Ask Me Anything (AMA)
    #ArchitectureandDesign
    #Routing(ACD/IVR)
    #Telephony

    ------------------------------
    Matthew Raleigh
    Broker Solutions, Inc. DBA New American Funding
    ------------------------------


  • 2.  RE: Open Schedule Evaluation

    GENESYS
    Posted 11-24-2021 09:14
    The primary purpose of the evaluate schedule group action is to answer if you are open/closed/holiday/emergency.  If you want to know which schedule(s) are open, you can add a variable to the Output Active Schedules field; it will be a string collection of all the open schedules' names in no particular order.

    ------------------------------
    Melissa Bailey
    Genesys - Employees
    ------------------------------



  • 3.  RE: Open Schedule Evaluation

    Posted 11-24-2021 09:25
    Hi Melissa,

    Thank you for your response. 

    I created a variable and outputted the active schedules as per your instructions.

    However, the reason for my questions is what priority does the system set when evaluating two open schedules? For example, I have one daily open schedule and a one-time open schedule. Logically, I feel it should use the one-time but in my testing it uses the daily as it is within the time window of the daily as well as the one-time. 

    Thanks


    ------------------------------
    Matthew Raleigh
    Contact Center Engineer L2
    Broker Solutions, Inc. DBA New American Funding
    ------------------------------



  • 4.  RE: Open Schedule Evaluation

    GENESYS
    Posted 11-24-2021 09:30
    There is no priority.  Either you're open or not.  If you care why you're open, use that variable and your own knowledge as to what's more important.  You can also use the evaluate schedule (not group) action to determine if a specific schedule is open.

    ------------------------------
    Melissa Bailey
    Genesys - Employees
    ------------------------------



  • 5.  RE: Open Schedule Evaluation

    Posted 11-24-2021 09:37
    Hi Melissa,

    Thanks, that is what I needed to know. 

    Do you have a basic example of how I could set priority with a variable? Thanks.

    ------------------------------
    Matthew Raleigh
    Contact Center Engineer L2
    Broker Solutions, Inc. DBA New American Funding
    ------------------------------



  • 6.  RE: Open Schedule Evaluation

    GENESYS
    Posted 11-24-2021 09:45
    Assuming you've named the Output Active Schedules variables Task.schedules and your 2 schedules are named "Schedule 1" and "Schedule 2" (case and space sensitive), to determine if schedule 2 is in the open schedules

    FindFirst(Task.schedules, "Schedule 2") > -1 


    ------------------------------
    Melissa Bailey
    Genesys - Employees
    ------------------------------



  • 7.  RE: Open Schedule Evaluation

    Posted 11-24-2021 09:49
    Awesome, thanks for that.

    ------------------------------
    Matthew Raleigh
    Contact Center Engineer L2
    Broker Solutions, Inc. DBA New American Funding
    ------------------------------



  • 8.  RE: Open Schedule Evaluation

    Posted 11-24-2021 13:18
    Matthew,

    I would either use two Open Schedules, M, Tu, Th, F 8a-5p and a second one Wed 10a-3p, or one open like your schedule 1 and a two closed (which will take precedence) Wed 8a-10a and Wed 3p-5p.

    HTH


  • 9.  RE: Open Schedule Evaluation

    Posted 06-19-2022 21:15
    Edited by Vaun McCarthy 06-19-2022 21:18
    Anything new on this that would let you return the actual "selected" schedule rather than all active ones?

    ------------------------------
    Vaun McCarthy
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources