WorkflowTemplate Object

Root Connection

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

changeTemplates (WorkflowTemplateConnection!)

Root connection for retrieving WorkflowTemplate 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 WorkflowTemplateFilter

Filter to determine which WorkflowTemplate records are returned.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

order [WorkflowTemplateOrder!]

Order of the WorkflowTemplate records returned.

view WorkflowTemplateView

View name.

The default value is current_account.

Root Connection

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

workflowTemplates (WorkflowTemplateConnection!)

Root connection for retrieving WorkflowTemplate 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 WorkflowTemplateFilter

Filter to determine which WorkflowTemplate records are returned.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

order [WorkflowTemplateOrder!]

Order of the WorkflowTemplate records returned.

view WorkflowTemplateView

View name.

The default value is current_account.

Fields

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

account (Account)

The account this record belongs to.

assignRelationsToWorkflowManager (Boolean)

Whether Requests and Problems are assigned to the workflow manager when the relations are linked to the workflow.

category (WorkflowCategory)

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

changeManager (Person)

Deprecated: This field has been renamed. Use workflowManager instead.

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

changeType (WorkflowType)

Deprecated: This field has been renamed. Use workflowType instead.

The type that needs to be selected in the Type field of a new workflow 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 workflow template may not be used to help register new workflows.

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 workflow template.

instructions (String)

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

justification (WorkflowJustification)

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

note (String)

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

recurrence (Recurrence)

Recurrency for the workflow template.

service (Service)

The service that should be selected in the Service field of a new workflow 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 workflow when it is being created based on the template.

uiExtension (UiExtension)

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

workflowManager (Person)

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

workflowType (WorkflowType)

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

Connections

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

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.

changes (WorkflowConnection)

DEPRECATE: use "workflows" instead.

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.

phases (WorkflowTemplatePhaseConnection)

Phases of the workflow 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.

taskTemplateRelations (WorkflowTaskTemplateRelationConnection)

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

workflows (WorkflowConnection)

Workflows of the workflow 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

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