- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2025 12:48 PM
I'm trying to meet a requirement to automatically answer some questions in a GRC Smart Attestation for a Control.
Use case 1:
I have a radio button question with 2 answers (Yes/No) (Question 1). Then I created another radio button question with the same options (Question 2). If Question 1 is answered Yes, then Question 2 should default to Yes. Or if Question 1 is answered No, then Question 2 should default to No. However, when attestations are generated and completed, Question 2 is always set to No. [Note the same behavior is observed for Drop-down and Check-box questions.]
Use case 2:
A question must be answered based on a value from the Entity's underlying record. I am attempting this with a script, however nothing that I can think of to try will get the answer to populate. I can run the script independently and it fetches the value I need, but when I try to answer the radio button question using the values shown on the form, nothing happens. No error is thrown, and gs.log/gs.info don't print anything. I even tried just setting the value (not using the GlideRecord lookup etc.)
Has anyone succeeded in getting the Automated Responses feature to work?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-21-2025 12:46 AM
Use case1:
Under Additional Options, there is a setting called 'Set response as editable'. When this is enabled (set to true),Response automation settings are evaluated only when the assessment is triggered. If it is disabled (set to false), the Response automation conditions are re-evaluated every time a dependent question changes. This behavior was not documented previously, but we will update our documentation to include this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-21-2025 03:35 AM
Use case2:
To set a radio button using a script, assign the value using: result.value = <response option sys_id>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-21-2025 12:46 AM
Use case1:
Under Additional Options, there is a setting called 'Set response as editable'. When this is enabled (set to true),Response automation settings are evaluated only when the assessment is triggered. If it is disabled (set to false), the Response automation conditions are re-evaluated every time a dependent question changes. This behavior was not documented previously, but we will update our documentation to include this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-21-2025 03:35 AM
Use case2:
To set a radio button using a script, assign the value using: result.value = <response option sys_id>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2025 04:10 AM
Hi @Pooja Kotagiri
I have to automated the question using script i have passed the response option sys_id but not updating on the assessment?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-22-2025 08:08 AM
@Pooja Kotagiri Thanks so much for the quick answers! I am working through reconfiguring my attestation as you've indicated. So far everything is working with the first use case! Appreciate the input very much!