Script includes installed with Operational Resilience

reference brazil Updated Sep 10, 2026 3 min read script-includes.md
Raw file servicenow.com

When you download the Operational Resilience application, several Script includes are added to your instance.

Script includes and other references installed

Script Name

Description

Process step used

Add to related area after insert

Script include

 

Build scratchpad values

Script include

 

Cancel vulnerability notification

Script include

 

Delete relevant records after deletion

Script include

 

Update relevant records after update

Script include

 

 

 

 

Show Opres tables only upon loading

Client script

Load options for the source field on operational vulnerability

Hide activity journal in workspace

Client script

Hide activity journal on operational vulnerability

Validate due date

Client script

Validate due date when submitting operational vulnerability

Disable attachments if inactive

Client script

Disable attachments if inactive when loading the operational vulnerability

Synch source to source table

Client script

Change the source table, when the source is changed on operational vulnerability

Hide or show related lists

Client script

Hide or show related lists in terms of the installation of the integrated apps.

 

 

 

Make type read-only for operational vulnerability

Catalog UI Policy

 

Validate date of occurrence

Catalog Client script

 

Show/Hide fields when source changes

Catalog Client script

 

Validate date of discovery

Catalog Client script

 

Show Opres tables only upon loading

Catalog Client script

 

Synch source to source table

Catalog Client script

 

 

 

 

VulnerabilityUtils

VulnerabilityUtilsBase

Script include

Used for the operational vulnerability.

OperationalResilienceEntitiesLists

OperationalResilienceEntitiesListsBase

Script include

Used for the roll up of the red flags, CSDM, and dependencies.

OpResLogger

Script include

Used for logging.

OperationalResilienceComputation

OperationalResilienceComputationBase

​

Script include

Contains utility functions that fetch data from different places in Operational Resilience. Fetches all issues related to a business service's entity or configuration item (CI). Used for updating the CSDM, dependencies, and their red flags.

OperResBusinessServiceUtil

OperResBusinessServiceUtilBase

Script include

Contains the utility functions for the related lists in the business service form.​ Utility classes used for service and business service.

OpResAssessmentUtils

OpResAssessmentUtilsBase

Script include

Used for importance and impact duration assessment.

OpResRedFlags

OpResRedFlagsBase

Script include

Used to calculate red flags.

OperResUtils

OperResUtilsBase

Script include

Utility class used for Operational Resilience.

OperationalResilienceConstants

Script include

Contains the constants that are required in different places in the application.​ Used to define constants.

OperationalResilienceAjax​

Script include

Client callable script include that handles the interaction between the client side and the service side​. AJAX utilities for Operational Resilience.

 

 

 

sn_oper_res.businessservice_dependencies

Event

Event to trigger the updating of business service dependencies

sn_oper_res.businessprocess_dependencies

Event

Event to trigger the updating of business process dependencies

sn_oper_res.serviceoffering_dependencies

Event

Event to trigger the updating of service offering dependencies

sn_oper_res.compliance_comp_job_err

Event

Event to trigger the logging.

sn_oper_res.set_entity_type_pillar

Event

Event to trigger adding pillar to the entities.

sn_oper_res.set_child_service_pillar

Event

Event to add pillar to the child service

sn_oper_res.remove_child_service_pillar

Event

Event to remove pillar from the child service

sn_oper_res.set_entity_pillar

Event

Event to add pillar to single entity

 

 

 

Fetch business service dependencies

Event script action

Updating of business service dependencies

Fetch service offering dependencies

Event script action

Updating of service offering dependencies

Fetch business process dependencies

Event script action

Updating of business process dependencies

Compliance job error handler

Event script action

Logging an error if the scheduled job throws exception.

Set pillar for entities in entity type

Event script action

Adding the pillar of the entity type to its entities.

Set service pillar for child services

Event script action

Adding service pillar from the child services.

(Only used for the service)

Remove service pillar for child services

Event script action

Removing service pillar from the child services.

(Only used for the service)

Set pillar for entity

Event script action

Adding the pillar for single entity

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