Configure scheduled jobs for Self-Service Analytics

task australia Updated Sep 10, 2026 2 min read configure-scheduled-job-ssa.md
Raw file servicenow.com

Schedule when to run the deflection configuration to generate the activities that match an activity pattern within an activity window.

Before you begin

Set up the deflection configuration for Self-Service Analytics.

Role required: admin

About this task

You configure the duration of processing the deflection configuration for a user entity. This configuration is optional for consumers and customer contacts. The scheduled job captures data for Self-Service Analytics and stores the generated data in the Deflection Metric [ssa_deflection_metric] table.

Procedure

  1. Navigate to All > System Definition > Scheduled Jobs.

  2. Configure the scheduled script processed for a user entity in a scheduled job.

    • For consumers, select Deflection Analytics for Consumers.
    • For customer contacts, select Deflection Analytics for Contacts.
    • For user entities other than consumers and customer contacts, click New and select Automatically run a script of your choosing to create another scheduled job or modify an existing schedule job.
  3. On the Scheduled Script Execution form, verify the default field values for consumers and customer contacts or fill in the values for a custom configuration.

Field

Description

Name

Name to identify the scheduled script execution.

Active

Option to activate the script at the scheduled date and time. By default the job is inactive.

Run

Type of schedule to execute the script on. Choices are:- Daily

  • Weekly
  • Monthly
  • Periodically
  • Once

Day

  • If you select Weekly as the Run value, the day of the week.
  • If you select Monthly as the Run value, the day of the month.

Repeat Interval

If you select Periodically as the Run value, the duration between each script execution.Note: This setting does not account for Daylight Savings Time changes. For example, if you select a period of one day, this adds 24 hours to the starting time of the job. If the start time was configured during a period with Daylight Savings Time, the job executes with a one hour offset on days when that time zone is not in Daylight Savings Time.

Time

If you select Daily, Weekly, or Monthly as the Run value, the time of day, based on a 24-hour clock.

Starting

Date and time of the first scheduled script execution.

Application

Application that contains the script.

Conditional

Option to run a scheduled job if certain conditions are met in the associated script.

Condition

Conditional script that determines whether a scheduled job must run. The last expression of the script should evaluate to a Boolean (true or false) value. This field appears only when the Condition check box is selected.

Run this script

Script to run at the scheduled date and time.For a new scheduled script, copy the script from the existing script (Deflection Analytics for Consumers or Deflection Analytics for Contacts) and modify the deflectionAnalyticsService.captureDeflectionAnalytics('*sys\_ID*') field value to include the sys_id of your deflection configuration record. For information about identifying the sys_id, see The unique record identifier (sys_id).

4. Click **Update** for consumers and customer contacts or **Submit** to save a custom configuration.

Parent Topic:Configure Self-Service Analytics

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