Skip to main content

Workflow

This represents a workflow instance (process instance) in the system. The availability of this data depends on the configuration of the workflow definition (process definition) and is generally less than a year from completion of the instance.

type Workflow {
businessKey: String
customerId: String
durationMs: BigInt
endedAt: Datetime
groups: [String]
id: String
jobId: String
name: String
prime: String
projectId: String
quoteId: String
siteId: String
startedAt: Datetime
state: String
tasks(
filter: TaskFilter
first: Int
offset: Int
orderBy: [TaskOrderBy!]
): [Task!]!
updatedAt: Datetime
}

Fields

Workflow.businessKey ● String scalar

Workflow.customerId ● String scalar

This field is derived from the workflow variables and should be considered indicative only. It may be null.

Workflow.durationMs ● BigInt scalar

Workflow.endedAt ● Datetime scalar

Workflow.groups ● [String] list scalar

Workflow.id ● String scalar

Workflow.jobId ● String scalar

This field is derived from the workflow variables and should be considered indicative only. It may be null.

Workflow.name ● String scalar

Workflow.prime ● String scalar

This field is derived from the workflow variables and should be considered indicative only. It may be null.

Workflow.projectId ● String scalar

This field is derived from the workflow variables and should be considered indicative only. It may be null.

Workflow.quoteId ● String scalar

This field is derived from the workflow variables and should be considered indicative only. It may be null.

Workflow.siteId ● String scalar

This field is derived from the workflow variables and should be considered indicative only. It may be null.

Workflow.startedAt ● Datetime scalar

Workflow.state ● String scalar

Workflow.tasks ● [Task!]! non-null object

Reads and enables pagination through a set of Task.

Workflow.tasks.filter ● TaskFilter input

A filter to be used in determining which values should be returned by the collection.

Workflow.tasks.first ● Int scalar

Only read the first n values of the set.

Workflow.tasks.offset ● Int scalar

Skip the first n values.

Workflow.tasks.orderBy ● [TaskOrderBy!] list enum

The method to use when ordering Task.

Workflow.updatedAt ● Datetime scalar

Returned By

workflows query

Member Of

Task object