a!queryFilter "IN" operator is not case-insensitive when comparing to large list of text values for Synced Record. Is this due to some limitation?

Hello,

We are running a query on Synced Record data using a!queryRecordType where we need to filter based on a list of Text. This is the query filter we are using:

a!queryFilter(
        field: 'recordType!recordName.fields.email',
        operator: "in",
        value: ri!email
      )

The record field is type Text and contains users' emails, which vary in how they are capitalized. The rule input ri!email is a list of Text String. When we pass in only a few items to that rule input we are able to return the expected results and we do see the records being returned with the email field matched in a case-insensitive manner. However, in our implementation we need to search on a large number of emails where the capitalization is not consistent across data sources. When we pass in 173 items to the ri!email rule input, we do not see the results being returned as expected with the email field matched in a case-insensitive manner. Then, if we update that 173-item list to make the email input match the capitalization of the values stored in the record, we do see those records returned from the query.

It seems that this must be because of some limitation, as the only change we make between the query that does return the expected case-insensitive result and the query that does not is changing the capitalization of the input value to match the record field's value. Is there some upper limit of list size that the queryRecordType function's queryFilter on a synced record is able to handle in a case-insensitive manner when using the IN operator on a Text field? If so, what is it and is there a workaround?

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data