How to call system property into Report filter condition

BanuMahalakshmi
Tera Contributor

Hi,

I am trying to create a report to fetch cmdb_ci list. I want to add filter condition is system property. 

This property contains value of cmdb_ci table class field values.

 

Script Include:
var test = Class.create();
test.prototype = {
initialize: function() {},
getApproverClasses: function() {
return gs.getProperty('ci_class_approver_by_group');
},

type: 'test'
};

Report filter condition - javascript:new test().getApproverClasses() but it didnt displays any value. pls advise how to declare system property into report.

 

Thanks.

5 REPLIES 5

Sanjay191
Kilo Patron

Hi @BanuMahalakshmi 
Is this report is on cmdb_ci  table or any other related table ?
Thank you

yes, report for cmdb_ci table only

Dinesh Chilaka
Mega Sage

@BanuMahalakshmi ,

Mark your script include Sandbox Enabled field to true.
Screenshot 2026-11-02 at 4.32.07 PM.png

If my response helped, mark it as helpful and accept the solution.
Thanks,
Dinesh
2026 Rising Star

yeah, i did already...