Skip to main content

Task

Represents information about a task.

type Task {
id: ID!
isLocked: Boolean!
isOverdue: Boolean!
daysOverdue: Int
_groupMeta: GroupMeta
parentId: ID
title: String
description: String
status: RelatedStatusType
startAt: Date
dueAt: Date
startOffsetDays: Int
dueOffsetDays: Int
priority: TaskPriority
type: TaskType
isSubtask: Boolean
isComplete: Boolean
isRecurringTemplate: Boolean
isBundleTask: Boolean
bundle: TaskBundle
sourceBundleId: ID
sourceBundle: TaskBundle
isCreator: Boolean
recurrence: TaskRecurrence
recurrenceTemplateId: ID
recurrenceTemplate: Task
geometry: JSON
parent: Task
isMember: Boolean
isResponsible: Boolean
comments: [Comment!]!
followers: [User!]
creator: User
createdAt: DateTimeTz!
updatedAt: DateTimeTz!
completedAt: DateTimeTz
deletedAt: DateTimeTz
spawnedTasks(
where: TaskSpawnedTasksWhereWhereConditions
orderBy: [TaskSpawnedTasksOrderByOrderByClause!]
first: Int!
after: String
): TaskConnection!
responsible(
first: Int!
after: String
): TaskMembersEdgeConnection!
children(
where: TaskChildrenWhereWhereConditions
orderBy: [TaskChildrenOrderByOrderByClause!]
first: Int!
after: String
): TaskConnection!
members(
where: TaskMembersWhereWhereConditions
orderBy: [TaskMembersOrderByOrderByClause!]
first: Int!
after: String
): TaskMembersEdgeConnection!
contacts(
where: TaskContactsWhereWhereConditions
orderBy: [TaskContactsOrderByOrderByClause!]
first: Int!
after: String
): TaskContactsEdgeConnection!
easements(
where: TaskEasementsWhereWhereConditions
orderBy: [TaskEasementsOrderByOrderByClause!]
first: Int!
after: String
): EasementConnection!
properties(
where: TaskPropertiesWhereWhereConditions
orderBy: [TaskPropertiesOrderByOrderByClause!]
first: Int!
after: String
): PropertyConnection!
projects(
where: TaskProjectsWhereWhereConditions
orderBy: [TaskProjectsOrderByOrderByClause!]
first: Int!
after: String
): ProjectConnection!
letters(
where: TaskLettersWhereWhereConditions
orderBy: [TaskLettersOrderByOrderByClause!]
first: Int!
after: String
): LetterConnection!
coordinations(
where: TaskCoordinationsWhereWhereConditions
orderBy: [TaskCoordinationsOrderByOrderByClause!]
first: Int!
after: String
): CoordinationConnection!
specifications(
where: TaskSpecificationsWhereWhereConditions
orderBy: [TaskSpecificationsOrderByOrderByClause!]
first: Int!
after: String
): SpecificationConnection!
governanceDocuments(
where: TaskGovernanceDocumentsWhereWhereConditions
orderBy: [TaskGovernanceDocumentsOrderByOrderByClause!]
first: Int!
after: String
): GovernanceDocumentConnection!
ordinances(
where: TaskOrdinancesWhereWhereConditions
orderBy: [TaskOrdinancesOrderByOrderByClause!]
first: Int!
after: String
): OrdinanceConnection! @deprecated
contracts(
where: TaskContractsWhereWhereConditions
orderBy: [TaskContractsOrderByOrderByClause!]
first: Int!
after: String
): ContractConnection!
submissions(
where: TaskSubmissionsWhereWhereConditions
orderBy: [TaskSubmissionsOrderByOrderByClause!]
first: Int!
after: String
): SubmissionConnection!
meters(
where: TaskMetersWhereWhereConditions
orderBy: [TaskMetersOrderByOrderByClause!]
first: Int!
after: String
): MeterConnection!
structures(
where: TaskStructuresWhereWhereConditions
orderBy: [TaskStructuresOrderByOrderByClause!]
first: Int!
after: String
): StructureConnection!
invoices(
where: TaskInvoicesWhereWhereConditions
orderBy: [TaskInvoicesOrderByOrderByClause!]
first: Int!
after: String
): InvoiceConnection!
expenses(
where: TaskExpensesWhereWhereConditions
orderBy: [TaskExpensesOrderByOrderByClause!]
first: Int!
after: String
): ExpenseConnection!
quotes(
where: TaskQuotesWhereWhereConditions
orderBy: [TaskQuotesOrderByOrderByClause!]
first: Int!
after: String
): QuoteConnection!
acts(
where: TaskActsWhereWhereConditions
orderBy: [TaskActsOrderByOrderByClause!]
first: Int!
after: String
): ActConnection!
files(
where: TaskFilesWhereWhereConditions
orderBy: [TaskFilesOrderByOrderByClause!]
first: Int!
after: String
): FileConnection!
}

Fields​

Task.id ● ID! non-null scalar​

Task's unique identifier.

Task.isLocked ● Boolean! non-null scalar​

Whether this entity is locked from edits to its contractual fields by its current status.

Task.isOverdue ● Boolean! non-null scalar​

Whether the due date has passed while the record is still unsettled. Counted in Estonian time, from the day after the due date.

Task.daysOverdue ● Int scalar​

How many days past its due date an overdue record is. Null when the record is not overdue.

Task._groupMeta ● GroupMeta object​

Grouping metadata when results are grouped.

Task.parentId ● ID scalar​

The task's parent task.

Task.title ● String scalar​

The task's title.

Task.description ● String scalar​

The task's description.

Task.status ● RelatedStatusType object​

The task's status.

Task.startAt ● Date scalar​

Starting date of the task.

Task.dueAt ● Date scalar​

Due date of the task.

Task.startOffsetDays ● Int scalar​

Days from the bundle apply anchor when this template's task should start. Only set on bundle templates.

Task.dueOffsetDays ● Int scalar​

Days from the bundle apply anchor when this template's task is due. Only set on bundle templates.

Task.priority ● TaskPriority enum​

The task's priority.

Task.type ● TaskType object​

The task's type.

Task.isSubtask ● Boolean scalar​

Determine whether the task is a subtask.

Task.isComplete ● Boolean scalar​

Determine whether the task is completed.

Task.isRecurringTemplate ● Boolean scalar​

Whether this task is a recurring template.

Task.isBundleTask ● Boolean scalar​

Whether this task is a bundle template (lives inside a TaskBundle).

Task.bundle ● TaskBundle object​

The bundle this task template belongs to (only set on bundle templates).

Task.sourceBundleId ● ID scalar​

The id of the bundle this task was spawned from.

Task.sourceBundle ● TaskBundle object​

The bundle this task was spawned from when a bundle was applied.

Task.isCreator ● Boolean scalar​

Whether the current user created this task.

Task.recurrence ● TaskRecurrence object​

Recurrence schedule when this task is a template.

Task.recurrenceTemplateId ● ID scalar​

The id of the template this task was generated from.

Task.recurrenceTemplate ● Task object​

The template this task was generated from.

Task.geometry ● JSON scalar​

The task's geometry as GeoJSON. Optional top-level "color" (hex bg/line), "iconColor" (hex glyph) and "icon" (Iconify id) keys provide map styling.

Task.parent ● Task object​

The parent task.

Task.isMember ● Boolean scalar​

Determine whether the current user is this task's member.

Task.isResponsible ● Boolean scalar​

Determine whether the current user is this task's responsible member.

Task.comments ● [Comment!]! non-null object​

The task's comments.

Task.followers ● [User!] list object​

The task's followers.

Task.creator ● User object​

The user who created this task.

Task.createdAt ● DateTimeTz! non-null scalar​

The date and time when the task was created.

Task.updatedAt ● DateTimeTz! non-null scalar​

The date and time when the task was last updated.

Task.completedAt ● DateTimeTz scalar​

The date and time when the task was completed.

Task.deletedAt ● DateTimeTz scalar​

The date and time when the task was deleted.

Task.spawnedTasks ● TaskConnection! non-null object​

Tasks spawned from this recurring template.

Task.spawnedTasks.where ● TaskSpawnedTasksWhereWhereConditions input​
Task.spawnedTasks.orderBy ● [TaskSpawnedTasksOrderByOrderByClause!] list input​
Task.spawnedTasks.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

Task.spawnedTasks.after ● String scalar​

A cursor after which elements are returned.

Task.responsible ● TaskMembersEdgeConnection! non-null object​

The task's responsible member.

Task.responsible.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

Task.responsible.after ● String scalar​

A cursor after which elements are returned.

Task.children ● TaskConnection! non-null object​

The child tasks.

Task.children.where ● TaskChildrenWhereWhereConditions input​
Task.children.orderBy ● [TaskChildrenOrderByOrderByClause!] list input​
Task.children.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

Task.children.after ● String scalar​

A cursor after which elements are returned.

Task.members ● TaskMembersEdgeConnection! non-null object​

The task's members.

Task.members.where ● TaskMembersWhereWhereConditions input​
Task.members.orderBy ● [TaskMembersOrderByOrderByClause!] list input​
Task.members.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

Task.members.after ● String scalar​

A cursor after which elements are returned.

Task.contacts ● TaskContactsEdgeConnection! non-null object​

The task's contacts.

Task.contacts.where ● TaskContactsWhereWhereConditions input​
Task.contacts.orderBy ● [TaskContactsOrderByOrderByClause!] list input​
Task.contacts.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

Task.contacts.after ● String scalar​

A cursor after which elements are returned.

Task.easements ● EasementConnection! non-null object​

A list of easements associated with the task.

Task.easements.where ● TaskEasementsWhereWhereConditions input​
Task.easements.orderBy ● [TaskEasementsOrderByOrderByClause!] list input​
Task.easements.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

Task.easements.after ● String scalar​

A cursor after which elements are returned.

Task.properties ● PropertyConnection! non-null object​

A list of properties associated with the task.

Task.properties.where ● TaskPropertiesWhereWhereConditions input​
Task.properties.orderBy ● [TaskPropertiesOrderByOrderByClause!] list input​
Task.properties.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

Task.properties.after ● String scalar​

A cursor after which elements are returned.

Task.projects ● ProjectConnection! non-null object​

A list of projects associated with the task.

Task.projects.where ● TaskProjectsWhereWhereConditions input​
Task.projects.orderBy ● [TaskProjectsOrderByOrderByClause!] list input​
Task.projects.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

Task.projects.after ● String scalar​

A cursor after which elements are returned.

Task.letters ● LetterConnection! non-null object​

A list of letters associated with the task.

Task.letters.where ● TaskLettersWhereWhereConditions input​
Task.letters.orderBy ● [TaskLettersOrderByOrderByClause!] list input​
Task.letters.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

Task.letters.after ● String scalar​

A cursor after which elements are returned.

Task.coordinations ● CoordinationConnection! non-null object​

A list of coordinations associated with the task.

Task.coordinations.where ● TaskCoordinationsWhereWhereConditions input​
Task.coordinations.orderBy ● [TaskCoordinationsOrderByOrderByClause!] list input​
Task.coordinations.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

Task.coordinations.after ● String scalar​

A cursor after which elements are returned.

Task.specifications ● SpecificationConnection! non-null object​

A list of specifications associated with the task.

Task.specifications.where ● TaskSpecificationsWhereWhereConditions input​
Task.specifications.orderBy ● [TaskSpecificationsOrderByOrderByClause!] list input​
Task.specifications.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

Task.specifications.after ● String scalar​

A cursor after which elements are returned.

Task.governanceDocuments ● GovernanceDocumentConnection! non-null object​

A list of governance documents associated with the task.

Task.governanceDocuments.where ● TaskGovernanceDocumentsWhereWhereConditions input​
Task.governanceDocuments.orderBy ● [TaskGovernanceDocumentsOrderByOrderByClause!] list input​
Task.governanceDocuments.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

Task.governanceDocuments.after ● String scalar​

A cursor after which elements are returned.

Task.ordinances ● OrdinanceConnection! deprecated non-null object​

DEPRECATED

Use governanceDocuments instead

A list of ordinances associated with the task.

Task.ordinances.where ● TaskOrdinancesWhereWhereConditions input​
Task.ordinances.orderBy ● [TaskOrdinancesOrderByOrderByClause!] list input​
Task.ordinances.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

Task.ordinances.after ● String scalar​

A cursor after which elements are returned.

Task.contracts ● ContractConnection! non-null object​

A list of contracts associated with the task.

Task.contracts.where ● TaskContractsWhereWhereConditions input​
Task.contracts.orderBy ● [TaskContractsOrderByOrderByClause!] list input​
Task.contracts.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

Task.contracts.after ● String scalar​

A cursor after which elements are returned.

Task.submissions ● SubmissionConnection! non-null object​

A list of submissions associated with the task.

Task.submissions.where ● TaskSubmissionsWhereWhereConditions input​
Task.submissions.orderBy ● [TaskSubmissionsOrderByOrderByClause!] list input​
Task.submissions.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

Task.submissions.after ● String scalar​

A cursor after which elements are returned.

Task.meters ● MeterConnection! non-null object​

A list of meters associated with the task.

Task.meters.where ● TaskMetersWhereWhereConditions input​
Task.meters.orderBy ● [TaskMetersOrderByOrderByClause!] list input​
Task.meters.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

Task.meters.after ● String scalar​

A cursor after which elements are returned.

Task.structures ● StructureConnection! non-null object​

A list of structures associated with the task.

Task.structures.where ● TaskStructuresWhereWhereConditions input​
Task.structures.orderBy ● [TaskStructuresOrderByOrderByClause!] list input​
Task.structures.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

Task.structures.after ● String scalar​

A cursor after which elements are returned.

Task.invoices ● InvoiceConnection! non-null object​

A list of invoices associated with the task.

Task.invoices.where ● TaskInvoicesWhereWhereConditions input​
Task.invoices.orderBy ● [TaskInvoicesOrderByOrderByClause!] list input​
Task.invoices.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

Task.invoices.after ● String scalar​

A cursor after which elements are returned.

Task.expenses ● ExpenseConnection! non-null object​

A list of expenses associated with the task.

Task.expenses.where ● TaskExpensesWhereWhereConditions input​
Task.expenses.orderBy ● [TaskExpensesOrderByOrderByClause!] list input​
Task.expenses.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

Task.expenses.after ● String scalar​

A cursor after which elements are returned.

Task.quotes ● QuoteConnection! non-null object​

A list of quotes associated with the task.

Task.quotes.where ● TaskQuotesWhereWhereConditions input​
Task.quotes.orderBy ● [TaskQuotesOrderByOrderByClause!] list input​
Task.quotes.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

Task.quotes.after ● String scalar​

A cursor after which elements are returned.

Task.acts ● ActConnection! non-null object​

A list of acts associated with the task.

Task.acts.where ● TaskActsWhereWhereConditions input​
Task.acts.orderBy ● [TaskActsOrderByOrderByClause!] list input​
Task.acts.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

Task.acts.after ● String scalar​

A cursor after which elements are returned.

Task.files ● FileConnection! non-null object​

The task's files.

Task.files.where ● TaskFilesWhereWhereConditions input​
Task.files.orderBy ● [TaskFilesOrderByOrderByClause!] list input​
Task.files.first ● Int! non-null scalar​

Limits number of fetched items. Maximum allowed value: 50.

Task.files.after ● String scalar​

A cursor after which elements are returned.

Returned By​

bundleTask query ● convertTaskToRecurring mutation ● createTask mutation ● createTaskAutomation mutation ● deleteTask mutation ● duplicateTask mutation ● recurringTask query ● restoreTask mutation ● task query ● updateTask mutation ● updateTaskRecurrence mutation

Member Of​

ContactTasksEdge object ● Task object ● TaskBundleApplyResult object ● TaskEdge object