Solved
I am not getting all the records for a record type relationship
I have a Class record type and a Student Record type with a relationship between them one-to-many.
when I try to get a Class with all the students (every student contains classId) I get only 10 of them but I have much more.
how can I fix it?
a!queryRecordType(
recordType: 'Class',
fields: {
'Class.relationships.Student'
},
filters: a!queryLogicalExpression(
operator: "AND",
filters: {
a!queryFilter(
field: 'Class.Id',
operator: "=",
value: ri!id
)
},
ignoreFiltersWithEmptyValues: true
),
pagingInfo: a!pagingInfo(
startIndex: 1,
batchSize: 100
)
).data[1]
