How to call system property into Report filter condition
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
8 hours ago
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
8 hours ago - last edited 8 hours ago
Hi @BanuMahalakshmi
Is this report is on cmdb_ci table or any other related table ?
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
6 hours ago
yes, report for cmdb_ci table only
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
7 hours ago
Mark your script include Sandbox Enabled field to true.
If my response helped, mark it as helpful and accept the solution.
Thanks,
Dinesh
2026 Rising Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
6 hours ago
yeah, i did already...
