- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2025 01:28 AM
During control attestation, I want issues created when a Control is "Not Applicable" in servicenow. I know OOTB it is via Business Rule and OOTB script include that creates issue record, when the question answer is selected "No" and it sets non compliant.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2025 12:25 PM
Thanks for the clarification.
Based on your information:
- Search for the "GRCAssessmentUtils" Script Include
and the "GRCAssessmentUtilsBase" Script Include. - You can overwrite or extend the corresponding functions of the "GRCAssessmentUtilsBase" Script in the "GRCAssessmentUtils" Script.
- Please note, that you should never change the "...Base" Script!
- A few of the functions you are looking for:
- _createAttestationIssue
- _evaluateControl: (somewhere around line 1177 coud be interesting for you)
Another way that might be easier and also work fine, is to create a
new Attestation Template and define a Choice Field with "Yes" "no" "not appliccable" where you define ony "Yes" as correct answer.
Would be great if you mark the answer as helpful and correct if I could help you out.
and "accepted solutions"This motivates others to take part, post solutions and find answers. Thanks! - Mat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2025 12:25 PM
Thanks for the clarification.
Based on your information:
- Search for the "GRCAssessmentUtils" Script Include
and the "GRCAssessmentUtilsBase" Script Include. - You can overwrite or extend the corresponding functions of the "GRCAssessmentUtilsBase" Script in the "GRCAssessmentUtils" Script.
- Please note, that you should never change the "...Base" Script!
- A few of the functions you are looking for:
- _createAttestationIssue
- _evaluateControl: (somewhere around line 1177 coud be interesting for you)
Another way that might be easier and also work fine, is to create a
new Attestation Template and define a Choice Field with "Yes" "no" "not appliccable" where you define ony "Yes" as correct answer.
Would be great if you mark the answer as helpful and correct if I could help you out.
and "accepted solutions"This motivates others to take part, post solutions and find answers. Thanks! - Mat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2025 12:58 PM
I am unable to modify this script. It's read only and protected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2025 01:25 PM
The script is not read only and protected if: No ACL (or else) is running against you and you are in the right application scope.
Means: If you cant work on it something blocks you, and that is usually not the case, you could even change the base script if you wanted to (DONT!).
and "accepted solutions"This motivates others to take part, post solutions and find answers. Thanks! - Mat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2025 01:26 PM
This one worked like a charm, thank you.
new Attestation Template and define a Choice Field with "Yes" "no" "not appliccable" where you define ony "Yes" as correct answer.😊
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2025 07:52 AM
Welcome, glad I could help
and "accepted solutions"This motivates others to take part, post solutions and find answers. Thanks! - Mat