- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2022 02:02 AM
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2022 03:42 AM
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.
Thanks
Anubhav Ritolia
ServiceNow Rising Star 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2024 08:11 PM
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.