Change control Status When Closing all issues

Huodil
Tera Contributor

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:

find_real_file.png

 

Issues associated with the control:

find_real_file.png

4 REPLIES 4

Prasad Pagar
Mega Sage

Hi @Huodil 

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

Hi @Prasad Pagar ,

I started writing a script but it's not working .

I created ths BR to tun After Update on Issue

Thanks,

 

find_real_file.png

There is typo in your script. It should be gs.info 🙂

find_real_file.png

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

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?