We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Data resource doesn't return all records that match query?

sm8192
Tera Contributor

I'm using a "Look Up Records" Data resource on a custom UI page to retrieve several records from a table. For a filter, I've bound the "Conditions" field to a state variable that contains an encoded query. However, I've noticed that this resource consistently "misses" several records, about 75% of them. When I use the same encoded query in a normal gliderecord script, it retrieves all records that match the conditions.

I know there's a 1000 record limit on the data resource, but I'm nowhere near that-- I'm getting 20 records when I should be getting 88. I'm logging the encoded query in the UI and it is identical to queries that return all 88 records in either a gliderecord or when I filter the table directly. Any suggestions?

0 REPLIES 0