- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-19-2016 06:42 AM
Hello Everyone
I have created a GET Scripted REST Resource to retrieve all the incident records. Now I want to check for only particular number of records. We can limit the records in query but I want to make it as dynamic.
Is there any way so that I can pass this (sysparm_limit=20) as a parameter ?
Please help me on this.
Thanks in advance.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2016 05:44 AM
Hi,
Yes, you can do this quite easily. In the "Query Parameters" related list of the scripted REST form, add an entry for sysparm_limit.
Scripted REST API query parameters

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2016 05:44 AM
Hi,
Yes, you can do this quite easily. In the "Query Parameters" related list of the scripted REST form, add an entry for sysparm_limit.
Scripted REST API query parameters
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2016 06:01 AM
Hi Chuck
Thank you very much.