Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Define access hour preferences for a work order task

Set default access hours for a work order task based on the customer preference at various levels, such as account, location, asset, and so on.

Before you begin

Role required: wm_admin

Procedure

  1. Navigate to All > Field Service > Access Hours Configuration > Access Hour Levels.

  2. Select New.

  3. On the form, fill in the fields.

FieldDescription
Access hour levelName for the level.
Match CriteriaCriteria that must match to auto-populate the access hours.You can select multiple criteria.
OrderOrder in which the access hour level should be evaluated to auto-populate the access hours.An ordering rule sorts the levels in descending order.
ActiveOption to make this level configuration active.
  1. Select Submit.

    The access hour level is created.

  2. From the Access Hour Configuration module, select Access Hour Preferences.

  3. Select New.

  4. On the form, fill in the fields.

FieldDescription
Access hour levelName of the access hour level for which you’re defining preferences.The matching criteria specified for the access hour level appear as fields in the access hour preference form. For example, if the selected access hour level is Account and its specified matching criteria are Consumer and Location, the Location and Consumer fields appear in the Access Hour Preferences form.
TypeThe type of output data to display access hours, either Value and Script.Use Value to define static access hours or Script to define the access hours dynamically.
ActiveOption to make this preference active.
Access HourThe static value used by the work order task to determine access hours, such as 8-5 weekdays.This field appears only when Value is selected in the Type field.
ScriptThe script used by the work order task to determine access hours. Use a script to determine access hours dynamically by making use of work order task attributes such as priority, work type, and so on. In the script, identify the attribute using the structure `workOrderTask. or workOrder.`. For example, you could determine the access hours of a task based on its priority. If the priority is 1, the script would return access hours 24x7 and if the priority is greater than 1, the script would return access hours 8-5 weekdays. This field appears only when Script is selected in the Type field.
  1. Select Submit.

Result

The access hours are set to auto-populate in the work order task based on the customer preference at various levels.

sndocs is an independent community mirror and is not affiliated with or endorsed by ServiceNow.

ServiceNow, the ServiceNow logo, Now, and other ServiceNow marks are trademarks and/or registered trademarks of ServiceNow, Inc., in the United States and/or other countries. Other company and product names may be trademarks of the respective companies with which they are associated.

© 2026 ServiceNow, Inc. All rights reserved.

Documentation content is redistributed under the Apache License 2.0 from the ServiceNowDocs repository.