ChangeTemplate Object

Root Connection

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

changeTemplates (ChangeTemplateConnection!)

Root connection for retrieving ChangeTemplate 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 ChangeTemplateFilter

Filter to determine which ChangeTemplate records are returned.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

order [ChangeTemplateOrder!]

Order of the ChangeTemplate records returned.

view ChangeTemplateView

View name.

The default value is current_account.

Fields

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

account (Account)

The account this record belongs to.

category (ChangeCategory)

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

changeManager (Person)

The person who will be responsible for coordinating the changes that will be generated automatically in accordance with the recurrence schedule.

changeType (ChangeType)

The type that needs to be selected in the Type field of a new change when it is being created based on the template.

createdAt (ISO8601Timestamp)

The date and time at which the record was created.

disabled (Boolean)

Whether the change template may not be used to help register new changes.

id (ID!)

Unique identifier of the object.

impact (TaskImpact)

The maximum impact level that is selected in the task templates that are a part of the change template.

instructions (String)

The information that needs to be shown when a new change is being created based on the template. This field typically contains instructions about how to register the change.

justification (ChangeJustification)

The justification that needs to be selected in the Justification field of a new change when it is being created based on the template. This field is required when there are request templates linked to the change template.

note (String)

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

recurrence (Recurrence)

Recurrency for the change template.

service (Service)

The service that should be selected in the Service field of a new change 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)

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

uiExtension (UiExtension)

UI extension that is to be added to a new change 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.

Connections

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

changes (ChangeConnection)

Changes of the change 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.

taskTemplateRelations (ChangeTaskTemplateRelationConnection)

Task template relations of the change 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

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