We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Report not populating records

Nawal Kishor S2
Mega Sage

Hi All,

I want show some Request in the reports but it returning NULL values, when I checked it in background script its working fine.

script include is client callable and all application scope.

 

Code- 

 

     getRequests: function() {
 
        return '21bc5108474ed110b286cc48946d4300';
    },
 
 Output: -
NawalKishorS2_1-1761572432943.png

 

 

Thank you!!


 

 

 

2 REPLIES 2

Ankur Bawiskar
Tera Patron

@Nawal Kishor S2 

your filter condition should be this

Sys ID [IS ONE OF] javascript: new RequestUtils().getRequests()

Also enable this Sandbox enabled Checkbox

AnkurBawiskar_0-1761572955721.png

 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

@Nawal Kishor S2 

Hope you are doing good.

Did my reply answer your question?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader