TaskApproval Object

Root Connection

All TaskApproval objects of an account are accessible by a query on the root connection taskApprovals. Such a query will return a TaskApprovalConnection!, which contains the TaskApproval objects in its nodes field.

taskApprovals (TaskApprovalConnection!)

Root connection for retrieving TaskApproval records.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

filter TaskApprovalFilter

Filter to determine which TaskApproval records are returned.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

Fields

The fields in this section list which values can be retrieved when querying TaskApproval records.

approver (Person)

The person who is selected as the approver for the approval.

attachment (Attachment)

The summary PDF file that was generated for the approver when the approval was last set to the status assigned.

createdAt (ISO8601Timestamp)

The date and time at which the approval was created.

id (ID!)

Unique identifier of the object.

plannedEffort (Int)

The number of minutes the approver is expected to spend working on the task.

status (TaskStatus)

The status of the approval.

task (Task)

The task to which the approval belongs.

updatedAt (ISO8601Timestamp)

The date and time of the last update of the approval. If the approval has had no updates it contains the createdAt value.

Implements

TaskApproval implements the following interfaces. This means that fragments defined on these interfaces may be used in queries returning a TaskApproval.