exam questions

Exam ACD100 All Questions

View all questions & answers for the ACD100 exam

Exam ACD100 topic 1 question 74 discussion

Actual exam question from Appian's ACD100
Question #: 74
Topic #: 1
[All ACD100 Questions]

When using “a!queryEntity()”, what should the batchSize be set to in a!pagingInfo() in order to return all the items from a query?

  • A. -1
  • B. 0
  • C. 1000
  • D. Null
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
nyxxx
1 month, 3 weeks ago
Selected Answer: C
hen using "a!queryEntity()" to execute a query, the "batchSize" parameter in the "a!pagingInfo()" function should be set to a value greater than or equal to the maximum number of items that can be returned by the query. To return all the items from a query, you can set the "batchSize" parameter to a large number, such as 1000 or more, depending on the size of your data. Setting the "batchSize" parameter to -1 or 0 is not valid and will result in an error. Setting the parameter to null is also not valid. Therefore C. 1000.
upvoted 1 times
Sid_16
1 month, 3 weeks ago
When the batch size is set to -1, will return all the items from the data store entity. This worls only in a!queryEntity() And setting the batch size to 0 will return the count of total items Refer the documentation below https://docs.appian.com/suite/help/21.4/fnc_system_a_paginginfo.html
upvoted 5 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago