Fetching Full Incident List from HI – CIDCommunicator Limitation?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2025 11:29 AM
Hello,
I'm using CIDCommunicator
within a Script Include to retrieve incident records from HI, but it seems to return a maximum of only 50 records. Is there an alternative way to retrieve the complete set? Any guidance would be greatly appreciated. Thank you.
var encoded_query = "sys_created_by=datacenter_sync^sys_created_onON2025-07-31@javascript:gs.dateGenerate('2025-07-31','start')@javascript:gs.dateGenerate('2025-07-31','end')^assignment_group=5c4d328a4fdfde00f347524e0210c72a^ORassignment_group=7dc3c7ce4f931a403ed8b85e0210c751^short_descriptionLIKEIssue occurred during provisioning^caused_byISNOTEMPTY";
var response = CIDCommunicator.read("HI_CHANNEL", {query: encoded_query}, {tableName: "incident"});
gs.info(response);
gs.info(JSON.stringify(response));
var outputLength = response.output.length;
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2025 06:04 AM
Will this work on any instance, or is this just an internal ServiceNow thing that customers can't access? I have been waiting for an integration between Hi and customer instances since Eureka.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark