Skip to content

tasksCount

All tasks assigned to a provider or client

Arguments

assigned_to_user · Boolean · If true, only tasks assigned to the current user will be returned
created_by_self · Boolean · Nil -> does nothing, false -> tasks created by others, true -> tasks created by current user
smart · Boolean · Nil -> all tasks, false -> non-smart tasks, true -> smart tasks

Returns

Int

Example

query tasksCount(
$assigned_to_user: Boolean
$client_id: String
$completed_status: String
$created_by_self: Boolean
$keywords: String
$show_hidden: Boolean
$smart: Boolean
$type: String
) {
tasksCount(
assigned_to_user: $assigned_to_user
client_id: $client_id
completed_status: $completed_status
created_by_self: $created_by_self
keywords: $keywords
show_hidden: $show_hidden
smart: $smart
type: $type
)
}