Appian: Interface Best practices:

Avoid unbounded queries(batchsize:-1)