Script includes installed with Digital resilience incident reporting

reference australia Updated Sep 10, 2026 1 min read script-incl-drir.md
Raw file servicenow.com

Several Script includes are added to your instance with Digital resilience incident reporting.

Name

Description

DriIncRptgUtils

Contains common functions that are used across various components of the DRI application, such as business rules (BR), Script Actions, UI actions, and more. One important function within this module is getIntermediateDUE, which is used to modify the creation of intermediate report schedules.

DriIncRptgAjax

Contains functions that are used on the client side. It is a client-callable Script Include designed to provide important data to the client side.

DRIGenerateReport

Contains client-callable Script include that is used to generate or export Microsoft Excel files for reports.

DriIncRptgConstants

Stores all constants for the DRI application.

This includes the sys_ids of the DRI Initial report, DRI Intermediate report, DRI Final report, and Regulatory reporting assessment of IT incidents templates. DRIIncRptgResponseAutomation uses these sys_ids to auto-fill responses across those templates. If you copy one of these templates to create a custom template, add new constants here for the custom template so that auto-fill keeps working. For more information, see Set up DRI Smart Assessment templates.

DRIIncRptgResponseAutomation

Used for response automation, which automatically populates certain questions based on data from previous templates, incidents, or source records.

The fetchDefaultResponse method and _asmtTemplateMapping object in this Script Include map each report template to the constants defined in DriIncRptgConstants. This mapping carries answers forward from one report to the next. Update this mapping whenever a custom template is used in place of, or alongside, the shipped templates. Automate response (auto-fill) currently does not support Reference-type questions, so answers to those questions aren't carried forward and must be entered manually on each report.

DriUserFilteringExtensionPoint

Provides filtering capabilities for contributors and collaborators on Digital resilience incident reporting assessment instances, enabling reassignment workflows.

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