Limit loading records on List collector on Variable Editor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2023 07:35 PM
Hi All,
I have a issue that on Requested Item, I am getting below error
As per my understanding it is due to list collector that is present in Variable editor is taking time to load data.
Is there a way to limit the loading record on this list collector? Is there any other workaround to resolve this error?
TIA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2023 07:50 PM
Hi @Shikha12
You can limit this using the sys_property glide.xmlhttp.excessive
Set the property value to maximum number of items you want to show in the list collector. ServiceNow recommends keeping it below 100. And this is global property which enforces this limit at system level.
See the documentation at the link below
Please mark my answer helpful and accept as solution if it helped you 👍✅
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2023 07:59 PM - edited 10-26-2023 08:00 PM
@AnveshKumar M I tried this property still getting this error. This Error is only removed if I remove the variable editor from the form layout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2023 09:03 PM
Hi @Shikha12
You need to apply filter on list collector.
Below KB article might help
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0814702
ServiceNow Developer
I know one thing, and that is that I know nothing.
- Socrates
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2023 09:32 PM
Filter is not working on this. I tried that also.