TaskTemplate Object

Root Connection

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

taskTemplates (TaskTemplateConnection!)

Root connection for retrieving TaskTemplate 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 TaskTemplateFilter

Filter to determine which TaskTemplate records are returned.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

order [TaskTemplateOrder!]

Order of the TaskTemplate records returned.

view TaskTemplateView

View name.

The default value is current_account.

Fields

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

account (Account)

The account this record belongs to.

assignToRequester (Boolean)

Whether a new task that is being created based on the template is to be assigned to the person who is selected in the Requested for field of the request for which the workflow is being generated.

assignToRequesterBusinessUnitManager (Boolean)

Whether a new task that is being created based on the template is to be assigned to the person who is selected in the Manager field of the business unit to which the organization belongs that is linked to the person who is selected in the Requested for field of the request for which the workflow is being generated.

assignToRequesterManager (Boolean)

Whether the manager of the requester of the first related request is to be selected in the Approver field of a new task when it is being created based on the template.

assignToServiceOwner (Boolean)

Whether a new task that is being created based on the template is to be assigned to the person who is selected in the Service owner field of the service that is linked to the workflow that the new task is a part of.

assignToWorkflowManager (Boolean)

Whether a new task that is being created based on the template is to be assigned to the person who is selected in the Manager field of the workflow to which the task belongs.

category (TaskCategory)

The category that needs to be selected in the Category field of a new task when it is being created based on the template.

copyNotesToWorkflow (Boolean)

Whether the Copy note to workflow box of tasks that were created based on the template needs to be checked by default. (The Copy notes to workflow checkbox is called "Copy notes to workflow by default" when the task template is in Edit mode.)

createdAt (ISO8601Timestamp)

The date and time at which the record was created.

disabled (Boolean)

Whether the task template may not be used to help register new tasks.

effortClass (EffortClass)

The effort class that is selected by default, when someone registers time on a task created based on the template.

id (ID!)

Unique identifier of the record.

impact (TaskImpact)

The impact level that needs to be selected in the Impact field of a new task when it is being created based on the template.

instructions (String)

The information that needs to be copied to the Instructions field of a new task when it is being created based on the template.

member (Person)

The person who should be selected in the Member field of a new task when it is being created based on the template.

note (String)

The information that needs to be copied to the Note field of a new task when it is being created based on the template.

noteBehavior (TaskNoteBehavior)

Influences the behavior of the note field on completion or approval.

pdfDesign (PdfDesign)

The PDF design that needs to be copied to the PDF design field of a new task when it is being created based on the template.

plannedDuration (Int)

The number of minutes that should be entered in the Planned duration field of a new task when it is being created based on the template.

plannedEffort (Int)

The number of minutes the member is expected to spend working on a task that was created based on the template.

plannedEffortRequester (Int)

The number of minutes the person, who is selected in the Requested for field of the first related request, is expected to spend working on a task that was created based on the template.

plannedEffortRequesterBusinessUnitManager (Int)

The number of minutes the business unit manager of the requester of the first related request is expected to spend working on a task that was created based on the template.

plannedEffortRequesterManager (Int)

The number of minutes the manager of the requester of the first related request is expected to spend working on a task that was created based on the template.

plannedEffortServiceOwner (Int)

The number of minutes the owner of the service of the related to the workflow is expected to spend working on a task that was created based on the template.

plannedEffortWorkflowManager (Int)

The number of minutes the workflow manager is expected to spend working on a task that was created based on the template.

providerNotAccountable (Boolean)

Whether the provider indicates not to be accountable for the affected SLAs linked to the requests that are linked to the workflow of a task that was created based on the template.

requestServiceInstance (ServiceInstance)

The service instance that should be selected in the Request service instance field of a new task when it is being created based on the template.

requestTemplate (RequestTemplate)

The request template that should be selected in the Request template field of a new task when it is being created based on the template.

requiredApprovals (Int)

The number that needs to be specified in the Required approvals field of a new approval task when it is being created based on the template.

skillPool (SkillPool)

The skill pool that should be selected in the Skill pool field of a new task when it is being created based on the template.

source (String)

An identifier for the client application submitting the resource or the name of an external system.

sourceID (String)

The unique identifier of the resource in an external system.

subject (String)

A short description that needs to be copied to the Subject field of a new task when it is being created based on the template.

supplier (Organization)

The supplier organization that should be selected in the Supplier field of a new task when it is being created based on the template.

team (Team)

The team that should be selected in the Team field of a new task when it is being created based on the template.

uiExtension (UiExtension)

UI extension that is to be added to a new task when it is being created based on the template.

updatedAt (ISO8601Timestamp)

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

urgent (Boolean)

Whether a new task that is created based on the template is to be marked as urgent.

workHoursAre24x7 (Boolean)

Whether the completion target of tasks created based on the template are calculated using a 24x7 calendar rather than normal business hours.

Connections

The connection fields in this section allow (paged) access to objects related to a specific TaskTemplate record. The actual objects will be in the nodes field of the connection.

approvals (TaskTemplateApprovalConnection)

Approvals of the task template.

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.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

automationRules (AutomationRuleConnection)

Automation rules associated with this record.

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.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

configurationItems (ConfigurationItemConnection)

Configuration items of the task template.

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.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

instructionsAttachments (AttachmentConnection)

Inline images linked to the Instructions field.

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.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

noteAttachments (AttachmentConnection)

Inline images linked to the Note field.

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.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

serviceInstances (ServiceInstanceConnection)

Service instances of the task template.

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.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

tasks (TaskConnection)

Tasks created using the task template.

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.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

workflowTemplates (WorkflowTemplateConnection)

Workflow templates that include the task template.

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.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

Implements

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