- 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 10:18 AM
Exactly how "No" -> Non-compliant works and we expect issue to be created for "Not applicable" -> Non-compliant