I want to Load the Records in the List Collector Field to load after the form Loads in a Catalog Item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2022 02:11 AM
Hi All,
I have a Requirement that There is List Collector Field on a catalog item that referenced to the cmdb_ci_service table. Now I need to load the records in the list collector fields after the form load as it takes too long to load the form because cmdb_ci_service table has huge number of records in it.
I remember something like to use a sleep/wait function in a client script but not sure on that.
Any help would be appreciated.
Thanks in Advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2022 02:19 AM
Hi,
why not use default value for that list collector variable?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2022 05:21 AM
Hi @Ankur Bawiskar
End user has to select manually the value from the available list of records. (No Default values are used)
I have created a reference qualifier to filter the data but still there are more number of records in the table so it takes too long to load the form.
I was suggested to Write a sleep/wait function to load the records in the List collector after the form Load.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-05-2022 05:39 AM
Hi,
if the table is huge then definitely it would take time to load
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader