Counts the number of tasks.
This method returns the count of all tasks regardless of their status
.
Optionally, you can specify a filter to count only tasks that meet certain criteria.
function countTasks(options: CountTasksOptions): Promise<CountTasksResponse>;
Filtering options.
import { tasks } from "@wix/crm";
async function countTasks(options) {
const response = await tasks.countTasks(options);
}
There is 1 error with this status code.
This method may also return standard errors. Learn more about standard Wix errors.