Reporting on the asmt_metric_result table shows empty value for Instance.Trigger ID
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2024 11:57 AM
When trying to run a report on asmt_metric_result I add a related column Instance.Trigger ID and it shows empty in the report. When I run a background script
var gr = new GlideRecord('asmt_metric_result');
gr.addQuery('sys_id', 'sample sys_id')
gr.query();
while (gr.next()) {
gs.print('Metric Result: ' + gr.sys_id + ', Trigger ID: ' + gr.instance.trigger_id);
}
I get a sys_id in return. When I open up a record in asmt_metric_result and open the record in the Instance field I see Trigger ID on the asmt_assessment_instance form is populated. Why is the report returning empty?
- 1,093 Views
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2025 10:51 AM
Was there an answer for this? We are seeing the same thing.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2025 07:42 AM
