Work Schedules

Work schedules define the business days and time zones in Workflow. When the Exclude weekends and holidays option is selected, workflow refers to the work schedule to determine what counts as a weekend or holiday. When no work schedules are created, the date and time are defined by the business days Monday through Friday, from 9 AM to 5 PM pacific time.

You can find the Exclude weekends and holidays option in the following activities:

Centralized List of Work Schedules

The centralized list (in the image below) lets you browse and manage shared work schedules. When you select a schedule, you can view a brief summary in the right pane, which includes the schedule’s time zone, work hours, and selected holidays. You can use one work schedule from this list throughout process automation, by setting the schedule as the default.

Setting the Default

The first work schedule you create is automatically set as the default, meaning it is used when the Exclude weekends and holidays option is selected. It also means that all the dates and times you configure in your workflows are with respect to the time zone in this work schedule. When you create multiple work schedules, you can decide which work schedule you want to use by setting that schedule as the default. The default schedule has a flag placed to the left of its name and is included in the Work Schedule Profile section in the properties pane of the workflow designer.

To set the default:

  1. Select a work schedule.
  2. Click Set Default on the top right.
  3. Click Yes.

Creating and Modifying a Work Schedule

When you create a work schedule, you must specify the work hours and time zone of your organization. You can also include holidays. You can select the holidays you want to include from the centralized list of holidays.

To create a work schedule:

  1. Open the Settings page.
  2. Click New.
  3. Type a unique name for the work schedule.
  4. Choose the time zone by which the schedule is observed.
  5. Select the days you want to include as working hours. The days you exclude are counted as weekend days.
  6. Specify the start and end times for each day in the workweek.
  7. Optional: Include the holidays that you want to observe.

    Note: Holidays must be added to the schedule in order for them to be recognized by workflows.

  8. Click Save.

Note: You can create up to 1,000 work schedules. Learn more about service limits

To modify a work schedule:

  1. Select a work schedule in the list.
  2. Click Edit in the top right.