Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Reporting on the asmt_metric_result table shows empty value for Instance.Trigger ID

Marlon Dale
Tera Expert

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?

2 REPLIES 2

Jason H1
Tera Contributor

Was there an answer for this? We are seeing the same thing.

Xavier Enahoro
Tera Contributor