Using the item generation process to generate controls and risks
Summarize
Summary of Using the item generation process to generate controls and risks
The ServiceNow Governance, Risk, and Compliance (GRC) suite includes an enhanced item generation process (v2) that automatically generates controls and risks for your organization. Controls represent the activities performed to manage compliance, linked to policies and risks. Risks denote potential threats or vulnerabilities affecting business objectives and are generated from associations with risk frameworks or statements.
Show less
The enhanced process in version 13.x.x improves on the legacy version (v1) by resolving stalling and performance issues, enabling significantly faster processing of large volumes of controls and risks.
How the Item Generation Process Works
The process operates via an action queue, where actions are inserted and executed sequentially by a scheduled job that periodically checks and processes queued actions one at a time. This design prevents stalled or concurrent actions, ensuring consistent updates and reliable performance.
Benefits
- Faster processing of control and risk generation using an event queue system.
- Elimination of stalled actions and race conditions that previously caused inconsistent updates.
- Detailed logging of action history and status, facilitating easier tracking and troubleshooting.
- Enhanced error reporting within the action queue for efficient issue resolution.
- Supports near-autonomous management of controls and risks, reducing manual maintenance for compliance and risk managers.
Applications Involved
The item generation process involves the following GRC applications:
- GRC: Policy and Compliance Management
- GRC: Risk Management
- GRC: Profiles (installed automatically with either of the above)
Upgrade Requirements and Impact
To utilize the enhanced item generation process (v2), you must upgrade both Policy and Compliance Management and Risk Management applications to version 13.x.x. This upgrade automatically updates GRC: Profiles as well. Partial upgrades or mismatched versions of these applications will generate error messages prompting a full upgrade.
The upgrade does not impact existing item generation implementations visibly; legacy processes remain supported until the upgrade.
Technical Components and Configuration
The process relies on several components such as tables, scheduled jobs, and script include action handlers:
- Scheduled Job and Action Event Queue: Controls the timing and sequencing of item generation actions. Administrators with the
sngrc.adminrole can configure the scheduled job frequency. - Action Event Queue: Stores records of generation actions, allowing monitoring of status and error details for troubleshooting.
- Script Include Action Handlers: Contain base and extended functions to process actions for control and risk generation. Managers with the
sngrc.managerrole can review base functions, while users withscriptincludeadminrole can customize action handling by overriding base functions.
Operational Considerations
When generating controls, the process prioritizes associating an existing common control to entities before creating new controls. This operational change optimizes control management and consistency across entities.
The ServiceNow® GRC suite of applications can automatically generate controls and risks for your organization with the enhanced item generation process. The enhanced item generation process (v2) in version 13.x.x fixes the stalling and performance issues from the item generation process (v1) in version 12.x.x and earlier releases.
Overview of the item generation process
By using the Governance, Risk, and Compliance application, you can use the item generation process to generate controls and risks for your organization.
A control is the actual control activity that an organization performs. For example, a control can be related to authoritative source content (legal articles, regulations, or public records), policies, and risks. A control is automatically generated when you associate a policy with an entity type (grouping of the entities that match a set of filter conditions) or an entity type with a control objective. For more information on controls, see Manage controls.
The item generation process (v1) in version 12.x.x and earlier releases generated out-of-sync updates due to the stalled actions in the action queue. The enhanced item generation process (v2) eliminates the stalling issues and improves the processing time of the controls and risks significantly. For example, the legacy item generation process (v1) generated 10,000 risks in approximately 13.7 minutes where the new item generation process (v2) can generate 10,000 risks in approximately 5.27 minutes.
Flow of the item generation process
Benefits of the item generation process
The new item generation process provides the following key benefits:
- Processes the controls and risks quickly by using the item generation action event queue.
- Eliminates the stalled actions and race conditions in the queue that generated the non-consistent updates.
- Logs the history and status of the item generation actions.
- Provides more information about an error in the item generation action event queue. It helps you to track and troubleshoot the issues quickly and efficiently.
- Helps the compliance and risk managers to manage the controls and risks in an auto-pilot mode without much maintenance.
Applications that are used in the item generation process
- GRC: Policy and Compliance Management
- GRC: Risk Management
- GRC: Profiles
The GRC: Profiles application is automatically installed when either the GRC: Policy and Compliance Management or GRC: Risk Management application is activated.
Upgrade scenarios and their impact on the existing implementations
You must upgrade both Policy and Compliance Management and Risk Management applications to version 13.x.x. When you upgrade the Policy and Compliance Management and Risk Management applications to version 13.x.x, the new item generation process (v2) replaces the legacy item generation process (v1).
- You have both the Policy and Compliance Management and Risk Management applications previously installed in your instance and you upgrade only one of them to version 13.x.x.
- You have only one of the Policy and Compliance Management or Risk Management applications installed in your instance and you upgrade the GRC: Profiles application to version 13.x.x.
- You have both Policy and Compliance Management or Risk Management applications installed in your instance and you upgrade the GRC: Profiles application to version 13.x.x.
Components that are used by the item generation process
The item generation process uses several types of reference components such as tables, scheduled jobs, and action handlers. For more information on the components that are used with the item generation process, see Components installed with the item generation process.
Using the scheduled job and action event queue
If an error occurs while processing an action in the queue, the item generation process displays more information about the error. For example, you might see an error trace with the object ID.
You can use the error trace and other details in the queue to track and troubleshoot the issue.
Script includes action handlers
The item generation process uses the script includes action handlers that process the actions for the Policy and Compliance Management and Risk Management applications.
You can view the list of the supported action handlers by navigating to Script Includes in the application navigator as shown in the following example.