Control state

Gary22
Tera Contributor

OOB business rule for  control status

 

2 ACCEPTED SOLUTIONS

Lana3
Kilo Guru

Hello Gary,

There is a BR: "Update item when assessment complete" which triggers the function: _evaluateAssessmentResult in script include: GRCAssessmentUtilsBase. It checks if the Source Table is sn_compliance_control, if so, it triggers the function: _evaluateControl (from the same script include). In here the Compliance status of the control is set. 
Kind regards,

Lana

View solution in original post

Hi Gary, 
You can overwrite the OOTB BASE script include by adding the function to the script include: GRCAssessmentUtils. Adding the function here will overwrite the function coming from the OOTB script include. However - I would like to ask you why you want to have it moved to Draft can you explain a bit more about your requirement? Because you should stick as much to OOTB as possible and process changes like this can really impact your instance in the long run...
Thanks!

View solution in original post

6 REPLIES 6

Lana3
Kilo Guru

Hello Gary,

There is a BR: "Update item when assessment complete" which triggers the function: _evaluateAssessmentResult in script include: GRCAssessmentUtilsBase. It checks if the Source Table is sn_compliance_control, if so, it triggers the function: _evaluateControl (from the same script include). In here the Compliance status of the control is set. 
Kind regards,

Lana

Gary22
Tera Contributor

Hi @Lana3 

 

Thanks a lot for your response 

 

Hi Gary, 
You can overwrite the OOTB BASE script include by adding the function to the script include: GRCAssessmentUtils. Adding the function here will overwrite the function coming from the OOTB script include. However - I would like to ask you why you want to have it moved to Draft can you explain a bit more about your requirement? Because you should stick as much to OOTB as possible and process changes like this can really impact your instance in the long run...
Thanks!

Do I need to write a new business rule for this? If yes, what should be the condition?