cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
795
Views
0
Helpful
2
Replies

CUE - how to use schedule in script

roderick.cwps
Level 1
Level 1

I have set up businesshours as M-F 8:30 to 5:00 and eveninghours as M-F 5:00pm to 9:00pm. How do I Set a schedule variable MySchedule to one the schedules?

Set property:

Variable: MySchedule

Assign: ???

2 Replies 2

Brandon Buffin
VIP Alumni
VIP Alumni

Create a schedule variable and assign it a value of "systemschedule" or the name of your schedule if you've configured something other than the default in CUE. Then use a Business Hours step under General in the CUE Editor. Add the step, then right-click > properties and reference your schedule variable. You will now have a branch for Open and one for Closed under Business Hours so you can route the call based on the schedule.

Hope this helps.

Brandon

It worked. Thank you, Brandon.