Calling a script include in Report filter not working

rajat1121
Tera Expert

Hi,

I'm trying to filter in progress records in incident table in reports using script include as a filter.

I created a script include for filtering in progress records on incident table.

rajat1121_0-1738817446352.png

 

 

Then I try to call the script include in the report's filter but its not running.

 

rajat1121_1-1738817467332.png

 

The script include is giving sys Ids in the background script.

 

rajat1121_2-1738817485010.png

 

Can any one help me what Im missing here? I'm on xanadu version.

 

Thanks

 

1 ACCEPTED SOLUTION

rajat1121
Tera Expert

I got this working after I checked the "Sandbox enabled" to true in the script include.

Thanks

View solution in original post

2 REPLIES 2

Viraj Hudlikar
Giga Sage

Hello @rajat1121 

 

Check below thread:
Solved: calling script include in report - ServiceNow Community

How to call a script include / server script through reports? - Support and Troubleshooting

https://youtu.be/zjcMXpbnH1s?si=yU5hTDcF35ZO4ouc

 

If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.

Hi Friends , In this video we will try to understand the imense power of Servicenow Reporting | We will see how we ServiceNow call Script include in Reports. We will focus on the use case to generate ServiceNow Duplicate Records report | This tutorial includes powerful reporting tips and tricks ...

rajat1121
Tera Expert

I got this working after I checked the "Sandbox enabled" to true in the script include.

Thanks