Change control Status When Closing all issues
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2022 04:32 AM
Hello,
How can I change the control status to "Compliant" after closing all isues associated with the control.
How it Works Today: it changes the status of the control to "Compliant" When closing just one issue
Regards,
Control:
Issues associated with the control:
- Labels:
-
Policy and Compliance Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2022 04:38 AM
Hi
The catch is to write BR on Issues table which should check all other corresponding issues associated with same control and thier state. If all others are closed and current one moving into close the you can set status of Control to complaint.
Did you tried writing any script?
Thank you
Prasad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2022 04:51 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2022 05:02 AM
There is typo in your script. It should be gs.info 🙂
https://community.servicenow.com/community?id=community_question&sys_id=7860a099db7bac10d58ea345ca961966
See this thread where RITM(In your case Control) is getting set to some state post closure of task(In your case Issue).
You can refer it and build yours.
Hope this helps
Thank you
Prasad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2022 10:50 AM
Hi! I'm new to the GRC Community. I have an a control that has been tied to multiple issue records but it still shows compliant. do you know why? is this a job that runs in the background?