Define style rules from Change Schedule Definitions

task brazil Updated Sep 10, 2026 1 min read def-stl-rules-from-chng-sch-def.md
Raw file servicenow.com

Define style rules from a change schedule definition to apply them to the change schedule that's related to the definition.

Before you begin

Role required: itil, sn_chg_soc.change_soc_admin, sn_change_role, sn_change_write, or admin

Procedure

  1. Navigate to All > Change > Schedules > Change Schedule Definitions.

  2. Open the definition for which you want to define or edit a style rule.

  3. In the Style Rules related list, select New.

  4. On the form, fill in the fields.

Field

Description

Name

Name for the style rule.

Conditions

Conditions that determine when the style rule applies. For example, show a red span when Risk is High.

Active

Check box that, when selected, makes the style rule active.

Styling

Advanced

Check box that, when selected, lets you write a script to set the label color, label weight, and event color.When this check box is cleared, the Label color, Label weight, and the Event color fields appear.

Label color

Color of the text that is displayed for each record on the timeline that matches the style rule.

Label weight

Thickness of the label, such as normal or bold.

Event color

Color of the schedule span displayed for each record on the timeline that matches the style rule.

5. Select **Save**.
**Note:** Style rules that you create from a change schedule definition take precedence over the style rules that exist in the base style rule table \[chg\_soc\_style\_rule\].

Parent Topic:Style rules definition

Related topics

Define default style rules

Define style rules from the change schedules view

Search documentation
Search document titles and file paths on the brazil branch