---
title: "Discussion on \"Stop returning a list of sys_id's\" | Hashnode"
description: "Discussion on \"Stop returning a list of sys_id's\". Learn how to script the return of sys_ids effectively"
url: "https://hashnode.com/posts/stop-returning-a-list-of-sysids/67e4fd8a9e3bb11340aaa3b8"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Stop returning a list of sys\_id's](https://blog.quintenvdb.net/stop-returning-a-list-of-sysids?utm_source=hashnode&utm_medium=feed)

Learn how to script the return of sys\_ids effectively

Mar 27, 2025 · 3 min read · blog.quintenvdb.net  
Updated Mar 30, 2025  
Read the article

-   [#servicenow](https://hashnode.com/tag/servicenow)
-   [#scripting](https://hashnode.com/tag/scripting)

## Written by

[Quinten Van den Berghe](https://hashnode.com/@MrGeneralQ)

@MrGeneralQ · Belgium

  
[View profile](https://hashnode.com/@MrGeneralQ)

ServiceNow Architect & Script Guru

I am a technical architect and ServiceNow enthousiast. Since then I have been obsessed with development and later on application design &amp; architecture. Today I'm using my skills to design solutions for IT companies within the ServiceNow industry whilst in my free time, spent the majority of my time creating applications for all kind of things unrelated to ServiceNow.

## Responses 1

Markdown supported · ⌘↵ to post

[Arnoud Kooi](https://hashnode.com/@arnoudkooi)

[Mar 30, 2025](https://hashnode.com/posts/stop-returning-a-list-of-sysids/67e4fd8a9e3bb11340aaa3b8/comment/67e9b6783d9952f652f4fba7)

Nice. Returning grIncidentTask would make it even righter ;)

[Mar 30, 2025](https://hashnode.com/posts/stop-returning-a-list-of-sysids/67e4fd8a9e3bb11340aaa3b8/comment/67e9b6783d9952f652f4fba7#reply-67e9b9d4992f6325f4079ea9)

When writing the article, I wrote code snippets without using an instance. The added the return statement in the script. Thanks for telling me.
