Code snippet below shows a filter for field test whose value is reviewing.
a!queryFilter( field: recordType! a.fields.test operator: "=", value: "Reviewing" )
How can I filter field test whose values are "reviewing" or null? I should be able to get rows 1 and 2
Discussion posts and replies are publicly visible
a!queryEntity( entity: cons!recordType, query: a!query( selection: a!querySelection( columns: { } ), logicalExpression: a!queryLogicalExpression( operator: "OR", filters: { a!queryFilter( field: recordType! a.fields.test operator: "=", value: "Reviewing" ), a!queryFilter( field: recordType! a.fields.test operator: "is null" ) }, ignoreFiltersWithEmptyValues: true ), pagingInfo: a!pagingInfo( startIndex: 1, batchSize: -1 ) ) )
Just FYI, a!queryEntity() does not work for recordType. Need to use a!queryRecordType().