I'm using a query against a table that contains a column with Appian usernames, and I am passing it a very large list of usernames to search for (3,900) using the "in" operator. When I call this query entity, I am getting the following error:
Expression evaluation error at function a!queryEntity: An error occurred while retrieving the data.
a!queryEntity( entity: cons!ENTITY_T_USER, query: a!query( filter: a!queryFilter( field: "UserName", operator: "in", value: touniformstring(enumerate(3000)) ), pagingInfo: a!pagingInfo( startIndex: 1, batchSize: - 1 ) ) ).data
I've been able to work-around this issue by instead removing the filter, and using looping functions to filter the results after I return everything. This doesn't seem ideal, since it's now a multi-step process (get everything from db, then filter it - rather than using the query to filter).
Discussion posts and replies are publicly visible