countTasks( )


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.

Authentication

This function requires elevated permissions and runs only on the backend and on dashboard pages.

Permissions
Manage Members and Contacts - all permissions
Read Members and Contacts - all read permissions
Manage Tasks
Read Tasks
Manage Restaurants - all permissions
Manage Stores
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
optionsCountTasksOptions

Filtering options.

Returns
Return Type:Promise<CountTasksResponse>
Errors
428Failed Precondition

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?