workflowTemplateCreate Mutation

Creates a new workflow template.

Input Argument

workflowTemplateCreate accepts a single input argument, an input type, which contains the values it uses.

The fields inside input are:

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.

clientMutationId (String)

A unique identifier for the client performing the mutation.

disabled (Boolean)

Whether the workflow template may not be used to help register new workflows.

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.

newTaskTemplateRelations ([WorkflowTemplateTaskTemplateInput!])

Task template relations of 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 (RecurrenceInput)

Recurrence for the workflow template.

serviceId (ID)

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.

uiExtensionId (ID)

UI extension that is to be applied to the record.

workflowManagerId (ID)

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

workflowTypeId (ID)

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

Return Fields

clientMutationId (String)

A unique identifier for the client performing the mutation.

errors ([ValidationError!])

Errors encountered during the mutation.

workflowTemplate (WorkflowTemplate)

Record after mutation.