Appian Associate Developer (ACD100) — Question 35
When using “a!queryEntity()”, what should the batchSize be set to in a!pagingInfo() in order to return all the items from a query?
Answer options
- A. -1
- B. 0
- C. 1000
- D. Null
Correct answer: A
Explanation
Setting the batchSize to -1 in a!pagingInfo() indicates that all items should be retrieved from the query. Other options, such as 0, 1000, and Null, do not instruct the function to return all results, as they either limit the number of items returned or have undefined behavior.