GRC Policy Retirement Guard with Control Objective Check#2599
Merged
kmxo merged 30 commits intoServiceNowDevProgram:mainfrom Oct 29, 2025
Merged
GRC Policy Retirement Guard with Control Objective Check#2599kmxo merged 30 commits intoServiceNowDevProgram:mainfrom
kmxo merged 30 commits intoServiceNowDevProgram:mainfrom
Conversation
Automatically create a problem record from incident volume Use case: Automatically create a problem record if a specific Configuration Item (CI) is associated with more than a certain number of incidents within a defined timeframe. Code snippet This code can be placed in a Scheduled Script Execution or an After Insert Business Rule to check new incidents
…Active incidents/README.md
…Active incidents/script.js
… Assignment Groups/README.md
… Assignment Groups/script.js
This Business Rule runs 'before' a record is deleted from the 'sn_compliance_policy' table. Its purpose is to prevent a policy from being deleted if it is currently linked to any active controls. This helps maintain data integrity and prevents the creation of orphaned or invalidated compliance records.
…cident volume/README.md
…cident volume/script.js
…licy with Active Control objectives
This Business Rule runs 'before' a record is updated on the 'sn_compliance_policy' table.
Its purpose is to prevent a policy from being retired if it is currently linked to any active controls.
This enforces a proper decommissioning process, ensuring that controls are retired
before the policy that governs them, thereby preventing compliance gaps.
The condition for this rule would be: 'State' changes to 'Retired'.
…cy with Active Controls/README.md
…cy with Active Controls/script.js
Contributor
Author
trimbakeshmadhan-109
left a comment
There was a problem hiding this comment.
Reviewd PR
2Files
Contributor
|
Sounds good to me. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Description:
GRC Policy Retirement Guard with Control Objective Check
Pull Request Checklist
Overview
Code Quality
Repository Structure Compliance
Core ServiceNow APIs/Server-Side Components/Client-Side Components/Modern Development/Integration/Specialized Areas/Documentation
Restrictions