Retrieves a list of tasks, given the specified paging, filtering, and sorting.
Query Tasks runs with the following defaults, which you can override:
createdDate in DESC orderFor field support for filters and sorting, see Tasks: Supported Filters and Sorting.
To learn about working with Query methods, see API Query Language, Sorting and Paging, and Field Projection.
| Property | Filters | Sort |
|---|---|---|
_id | $eq, $ne, $in | Sort: ASC, DESC |
_createdDate | $eq, $ne, $gt, $lt, $gte, $lte | Sort: ASC, DESC |
_updatedDate | $eq, $ne, $gt, $lt, $gte, $lte | Sort: ASC, DESC |
dueDate | $eq, $ne, $gt, $lt, $gte, $lte | Sort: ASC, DESC |
status | $eq, $ne, $in, $nin | None |
contact._id | $eq, $ne, $in, $exists | None |
This method may require higher-level permissions than the caller has, based on their identity and roles and permissions. In these cases, you can ensure the method is called with the required level of authorization by using one of the following:
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.