- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 04:51 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 07:58 PM
Hi @PJ363182 ,
check the Sandbox enable checkbox it'll work
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 07:37 PM
Hi @PJ363182 ,
What are you trying to get from the script include here?
You can learn more from the link below and then try again :
Live example :https://www.servicenow.com/community/developer-forum/way-to-create-script-include/m-p/2480639
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 07:44 PM
The expectation is that the result would show only 1 record with Abel Tuter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 07:58 PM
Hi @PJ363182 ,
check the Sandbox enable checkbox it'll work
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 08:10 PM - edited 03-10-2025 08:11 PM
Hi @PJ363182,
Your script include is Client Callable. Could you please recreate your script include with Client Callable unchecked?
For your filter, please use Name IS javascript: new a().aa(); as the user table and your script include are both on Global Scope.
Try calling your function on scripts - background to see if everything is working as expected:
var util = new a();
gs.info(util.aa());
If you found this helpful, please hit the thumbs-up button and mark as correct. That helps others find their solutions.
