tasks
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 conversation_ids
· [ID!] · Returns only tasks created from messages in these conversations. Null means no restriction; an empty list returns no tasks. creator_filter
· CreatorFilterInput · Filter tasks by creator. Use self: true/false for current user or ids: [...] for specific users smart_sources
· [SmartSource!] · Only return tasks whose smart_source is one of the given values. Use NONE to match tasks with no smart source. Omitted means no filtering.
·
Boolean Returns
TaskPaginationConnection Example
query tasks( $assigned_to_user: Boolean $assignees: [ID] $client_id: ID $completed_status: String $conversation_ids: [ID!] $creator_filter: CreatorFilterInput $smart_sources: [SmartSource!] $keywords: String $show_hidden: Boolean $smart: Boolean $type: String $sort_by: String $order_by: TaskOrderKeys $after: String $before: String $first: Int $last: Int) { tasks( assigned_to_user: $assigned_to_user assignees: $assignees client_id: $client_id completed_status: $completed_status conversation_ids: $conversation_ids creator_filter: $creator_filter smart_sources: $smart_sources keywords: $keywords show_hidden: $show_hidden smart: $smart type: $type sort_by: $sort_by order_by: $order_by after: $after before: $before first: $first last: $last ) { edges nodes page_info total_count }}