The CreatorCon Call for Content is officially open! Get started here.

Limit loading records on List collector on Variable Editor

Shikha12
Tera Contributor

Hi All,

 

I have a issue that on Requested Item, I am getting below error

 

Shikha12_0-1698373917398.png

As per my understanding it is due to list collector that is present in Variable editor  is taking time to load data.

 

Shikha12_1-1698373989853.png

Is there a way to limit the loading record on this list collector? Is there any other workaround to resolve this error?

 

TIA

 

 

4 REPLIES 4

AnveshKumar M
Tera Sage
Tera Sage

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

https://docs.servicenow.com/en-US/bundle/vancouver-platform-user-interface/page/use/common-ui-elemen...

 

Please mark my answer helpful and accept as solution if it helped you 👍

Thanks,
Anvesh

@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

Vishal Birajdar
Giga Sage

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

 

Vishal Birajdar
ServiceNow Developer

I know one thing, and that is that I know nothing.
- Socrates

Filter is not working on this. I tried that also.