We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

How to hide the 'Control assessment not applicable' checkbox from the control assessment?

Snehal Madakatt
Mega Sage

Hi Team,

Does any one knows how to hide the 'Control assessment not applicable' checkbox which is available on the control assessment. And how to make it visible conditionally? 

In UI builder, the component is not editable presently. So is there any workaround to do this?

SnehalMadakatt_0-1743061000186.png

SnehalMadakatt_1-1743061191146.png

 

Regards,

Snehal

 

1 ACCEPTED SOLUTION

Not applicable

Hi @Snehal Madakatt ,

This "Control assessment not applicable" field is part of the component.
So it cannot be customized unfortunately.

 

View solution in original post

10 REPLIES 10

Hi @Snehal Madakatt ,

The assessment data is fetched using a rest api. The use can customize these rest api's to show appropriate warnings or error messages when a user interacts with it. One way to achieve it is:
1. Customize the save API to prevetn the user from updating the field value in the backend.
2. Create a BR or client script which displays an error message or warning message to the user.

The save and fetch apis are provided below:

 

  1. Save api which can be customised to show an info message: http://localhost:9090/sys_ws_operation.do?sys_id=d06e143543dc711042f50db5bab8f235&sysparm_record_tar...
  2. api to fetch the assessment data: http://localhost:9090/sys_ws_operation.do?sys_id=c34466f253b310105f9fddeeff7b12bf&sysparm_record_tar...

Please mark this as helpful if it solves your query.

Regards,
Jai

rupalipati
Tera Contributor

Is there a way to perform similar functionality for inherent assessment? I created a check box field but facing issue with hiding the full component when it is checked

No, Inherent assessment does not support this functionality. Users have to perform the inherent assessment if enabled in the RAM.

Please mark this as helpful if it solves your query.

Regards,
Jai

Vaisakh Krishna
ServiceNow Employee

Hi @Snehal Madakatt ,

 

Yes, this can be done now. We have a configuration available in RAM now for both Control and Residual assessments, where you can choose to hide this option. there is a 'Hide assessment not applicable' available on the form for Control assessment.

 

https://www.servicenow.com/docs/r/governance-risk-compliance/grc-risk-management-workspace/control-a...

 

Thanks,

Vaisakh

DavidW447091066
Mega Contributor

If it's an out-of-the-box field that's not configurable in UI Builder, there's no supported way to hide it conditionally. A custom component or script is likely the only workaround.