Issue with Computed inherent risk

RaymundoD
Tera Contributor

Hello Everyone!!  I would like to ask if anyone knows what's wrong.  I will explain.  We created our own assessment methodology, it was working fine but later after a language change of the Ratings it's not showing the text value (Very low, low, medium, high, etc) all other configurations like color box, summing, etc. are working as usual.

 

The issue is that text value is not appearing in the box.

 

I attach evidence..

 

I'll appreciate any help...

 

Best regards

1 ACCEPTED SOLUTION

Hello @RaymundoD,

Of course! I'll guide you through this process:

1. Right-click on the field and select Configure Dictionary.

KristianG_0-1730133307951.png

2. Navigate to the Calculated Value tab.

3. Set the Calculated field to true and ensure the Calculation script field is populated (refer to the screenshot).

KristianG_1-1730133441022.png

Note: This solution applies to risk assessment plugin versions 17.x and above.

Let me know if you need any further assistance!

View solution in original post

9 REPLIES 9

Community Alums
Not applicable

Hi @RaymundoD ,

ServiceNow stores translation information in these tables.

  • Languages [sys_language]
  • Translated Name / Field [sys_translated]
  • Messages [sys_ui_message]
  • Field label [sys_documentation]
  • Choice [sys_choice]
  • Translated Text [sys_translated_text]

Hence, check if your translated text is being stored in the specific table or not, if not create one.

 

Sandeep, 

 

   Thanks a lot for your help!  Unfortunately, I still have the issue, I was checking Prod Instance (which doesn't have changes) and it has the same issue, even no changes has made.

KristianG
Tera Expert

Hello @RaymundoD,

 

Could you please check the dictionary for the field to see if the 'calculated' checkbox is set to true? Additionally, could you check the version of the Risk Assessment Plugin and check if it has been recently updated?

Depending on the version, the 'calculated' field should be set appropriately. For computed fields on risk assessment instances, up to version 16.x, there were business rules to calculate the values of these fields. However, starting from version 17.x, a script is used for the calculated value of these fields. Therefore, it's possible that after the plugin update, this 'calculated' field may still be set to false, which could be causing the issue you're experiencing.

If this is the problem, you can set the 'calculated' checkbox to true and ensure that the calculated script is present (OOTB). After making these changes and capturing them in an update set, please change the 'replace_on_upgrade' tag value to true in the update set, which can be found in the version-related list.

 

KrisitanG, 

 

 Thanks for your help.  I couldn't the option that you describe, I'm not a SN expert so I tried to search but I couldn't.  It's possible that you could tell me about how to find it?

 

Regards,

RDP