ARA(GRC: Advanced Risk) Workspace assessmentVars.residualAsmtValid Configuration Setting

RC22
Tera Expert

Hi everyone,

 

I’m trying to locate a specific configuration in the ARA workspace and understand its details. I’ve checked all the client scripts and client state parameters, but I couldn’t find where the initial value is set. However, when the form is loaded and the risk assessment state is in the response state, I can see its value validated at the beginning of one particular client script.

 

Could someone help me understand where exactly this property has been set and if there is any logic defining it?


Client Script Name: Handle assessor actions 
Line#: 20

Could someone help me understand where exactly this property has been set and the logic behind it?  

image (10).png

Screenshot 2024-07-29 at 8.09.45 PM.png

2 ACCEPTED SOLUTIONS

jaikishan1
ServiceNow Employee
ServiceNow Employee

Hi @RC22 ,

The variable is being set in the client script "Localise dynamic labels and set states" on the "Risk Assessment Homepage" page under ARA workspace.

The actual data is fetched using the data broker "Get data for start assessment 1" under the same page.

Regards,
Jai

Please mark this as helpful if it solves your query.

Regards,
Jai

View solution in original post

jaikishan1
ServiceNow Employee
ServiceNow Employee

Hi @RC22 ,

It's a data broker that fetches data from the server and makes it available on the client side. It is basically a script which contains the logic to fetch the data. To review the logic and the actual code, please follow the following steps:
1. Open data broker on the UI builder page.

2. Select the data broker which you want to review.
3. Right click on the 3 dots on the data broker and select "open record".

jaikishan1_0-1722316815162.png

Regards,
Jai

Please mark this as helpful if it solves your query.

Regards,
Jai

View solution in original post

4 REPLIES 4

jaikishan1
ServiceNow Employee
ServiceNow Employee

Hi @RC22 ,

The variable is being set in the client script "Localise dynamic labels and set states" on the "Risk Assessment Homepage" page under ARA workspace.

The actual data is fetched using the data broker "Get data for start assessment 1" under the same page.

Regards,
Jai

Please mark this as helpful if it solves your query.

Regards,
Jai

Thanks, @jaikishan1 . Your previous explanation really helps and has clarified a lot for me. Thank you so much.

 

Could you help me with one more thing? I’m actually new to all of this. Is the Get data for start assessment 1 a simple one GET API call to fetch all the data for the RISK assessment, or does it involve any specific logic? What exactly does it bring? Is there some logic behind the scenes for the Get data for start assessment 1, and if so, where can I find and understand it? 

jaikishan1
ServiceNow Employee
ServiceNow Employee

Hi @RC22 ,

Please mark the answers as helpful as well by clicking on the thumbs up icon if I have solved your query.

Please mark this as helpful if it solves your query.

Regards,
Jai

jaikishan1
ServiceNow Employee
ServiceNow Employee

Hi @RC22 ,

It's a data broker that fetches data from the server and makes it available on the client side. It is basically a script which contains the logic to fetch the data. To review the logic and the actual code, please follow the following steps:
1. Open data broker on the UI builder page.

2. Select the data broker which you want to review.
3. Right click on the 3 dots on the data broker and select "open record".

jaikishan1_0-1722316815162.png

Regards,
Jai

Please mark this as helpful if it solves your query.

Regards,
Jai