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

Configure scheduled jobs for Self-Service Analytics

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.
    • 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.
FieldDescription
NameName to identify the scheduled script execution.
ActiveOption to activate the script at the scheduled date and time. By default the job is inactive.
RunType 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 IntervalIf 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.
TimeIf you select Daily, Weekly, or Monthly as the Run value, the time of day, based on a 24-hour clock.
StartingDate and time of the first scheduled script execution.
ApplicationApplication that contains the script.
ConditionalOption to run a scheduled job if certain conditions are met in the associated script.
ConditionConditional 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 scriptScript 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).
  1. Click Update for consumers and customer contacts or Submit to save a custom configuration.

Parent Topic:Configure Self-Service Analytics