Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Script Includes not being referenced.

Shree Nag
Tera Expert

Hello,

I have a report created to get all the breached incidents assigned to a Parent group and all its child groups.

I have followed a great helpful article on this. Thanks to the contributor Murthy.

 https://www.servicenow.com/community/incident-management-sow-forum/how-to-create-a-report-with-assig....

Hello,

 

I have created report and script include. When I include the parent group name in task.assignent group, I get all the incidents breached in PARENT group only.

When I include the script include, i'm not even getting incidents by assigned to Parent group.

I'm not getting the results of including all the child groups.

 

please help me identify the issue here and suggest the resolutions.

 

Thank you in advance.

1 REPLY 1

Nawal Singh
Tera Guru

Hi @Shree Nag ,

 

As per your shared screenshot you are trying to pass the group sys-id from reports, it's static value so can you please add the sys_id in your script include directly and returns the related group

NawalSingh_0-1763105127735.png

 

also checked the sandbox enabled to TRUE  and returns script include like- return finalGroup.toString();

 

If you found my response helpful, please mark it as helpful and accept it as the solution.

Thank you
Nawal Singh