Can we create custom fields on the Assessment instance question and Metric Result

Hari1
Mega Sage

Hi,

 

As a part of a requirement i wanted to check if we can create custom fields on the Assessment Instance Question (asmt_assessment_instance_question) and Metric Result (asmt_metric_result) tables. Which is the best table that suits for customization. Is it the Assessment Instance Question or Metric Result table. As both the tables has similar list of fields. I need to perform some calculations based the survey input value field on completion of the assessment instance where the state changes to Completed.

 

Thanks

1 ACCEPTED SOLUTION

Hi @Hari1 

 

As these are Global OOTB tables, anyways creating fields may not be recommended. but if your requirement allows, you can create with permission from your client and manager.

 

Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.

Thanks
Anubhav Ritolia
ServiceNow Rising Star 2023

View solution in original post

5 REPLIES 5

Yuvraj Sharma
Tera Expert

I created a Business Rule (condition : when assessment instance state changes to complete) on the Assessment Instance table because this table links to the metric result table as well as the source table for which the attestation is generated.

 

In advanced script for BR, using GlideRecord and the the right reference fields (using the metric category of assessment instance), I brought the metric results in code, did the calculation and using GlideRecord (source sys_id from the assessment instance), populated the result on the Source Table.

 

If you find this useful, let me know to share more detailed answer with script.