Is it possible to use a timer in a workflow that only runs on business days and excludes holidays?

Drew8
Tera Guru

I have my work schedule set from 8am-5pm and it has a child schedule including holidays. I have run tests but i can't figure out what the best way to exclude days from a schedule.

1 ACCEPTED SOLUTION

sndangibbard
Mega Guru
  • Go to System Scheduler > Schedules
  • Open: 8-5 Weekdays Excluding Holidays


This will give you an idea of how to exclude days from a schedule, essentially the process is:


  • Create a schedule with Schedule Entries of type --None--
    • These days are when your timer will count
  • Create a schedule with Schedule Entries of type Excluded
    • These days are when your timer will NOT count
  • Add the Excluded schedule as a child schedule of the other one
  • In your Timer activity:
    • Schedule based on: A Specific Schedule
    • Schedule: your parent schedule

View solution in original post

3 REPLIES 3

Jaspal Singh
Mega Patron
Mega Patron

Hi Drew,



In the SLA itself if you use a schedule that has defined set of holidays it would automatically exclude those days. Also, this may be efficient & easy approach to exclude holidays.


It is for a timer activity in a workflow. It runs just fine if I add the work schedule. I just can't get it to exclude days. Would SLA work in a workflow and be the best option?


sndangibbard
Mega Guru
  • Go to System Scheduler > Schedules
  • Open: 8-5 Weekdays Excluding Holidays


This will give you an idea of how to exclude days from a schedule, essentially the process is:


  • Create a schedule with Schedule Entries of type --None--
    • These days are when your timer will count
  • Create a schedule with Schedule Entries of type Excluded
    • These days are when your timer will NOT count
  • Add the Excluded schedule as a child schedule of the other one
  • In your Timer activity:
    • Schedule based on: A Specific Schedule
    • Schedule: your parent schedule