Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

How to customer advanced risk assessment "Control Assessment" form?

ESL
ServiceNow Employee

I have some business requirement to display another control fields in the control assessment form. (OOTB.png)

I find the UI Page[advanced_assessment] and I can modify Line 266-277, then I am able to add a new column on the form.( Please refer attached image "modified.png") 

 

https://<instance-name>.service-now.com/now/nav/ui/classic/params/target/sys_ui_page.do%3Fsys_id%3Dd...

 

My question is how can I get the field information and put them to this form?

I am searching the script but I could not find it. Please advice. Thanks.

3 REPLIES 3

ESL
ServiceNow Employee

OOTB:

OOTB.png

Modified :

  Modified.png

  

Did you ever get an answer I am facing the same issue.  I can create a new column and populate it with data from any of the columns already there (Like Status), but if I try to pull description or exempt it never pulls it.

ESL
ServiceNow Employee

I think it's very hard to add a new column to this UI page, but you can consider replacing the current column with the column that you want to display.

 

You can find the script include[RiskAssessmentUtilsBase] and the function [_generateIndividualControlAssessmentResponsesJson].

This is the function to get the value from control and pass to the advanced_assessment UI page.

 

for example:

 
factorJson.status = control.getDisplayValue('status');

 You can change the status to description. 

 

Hope this is help you!