Performance analytics report script issue
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2024 09:14 AM
Hi Team,
could you help me with the script used in PA report as we can't use the current value to it (value is the field referring to facts table)
(Please refer screenshot)
var values = function(x){
var gr = new GlideRecord('sys_choice');
gr.addEncodedQuery('name=sn_compliance_policy_exception^element=substate^language=en^inactive=false');
gr.addQuery('label',x);
gr.query();
if(gr.next())
return gr.value;
};
values(current.value);
Thanks
0 REPLIES 0