githubEdit

object-groupWorkflow

Workflow Type

Represents a workflow definition in the system. Workflows define automated processes that can be triggered by events and executed using Temporal.io.

Fields

Field
Type
Description

id

ID!

Unique identifier of the workflow

tenantID

UUID!

Tenant identifier

dataTypeID

UUID

Data type identifier for custom data validation

dataTypeSlug

String

Data type slug for custom data validation

data

Map

Custom data associated with the workflow

createdAt

Time!

Creation timestamp

createdBy

UUID!

User identifier who created the workflow

updatedAt

Time

Last update timestamp

updatedBy

UUID

User identifier who last updated the workflow

deletedAt

Time

Deletion timestamp

deletedBy

UUID

User identifier who deleted the workflow

name

String!

Name of the workflow

taskQueue

String!

Temporal task queue for this workflow

Connection Fields

The workflowSignals field returns a Connection object that supports pagination, filtering, and ordering.

workflowSignals Connection

Argument
Type
Description

after

Cursor

Returns elements after this cursor

first

Int

Returns the first n elements

before

Cursor

Returns elements before this cursor

last

Int

Returns the last n elements

orderBy

WorkflowSignalOrder

Ordering options for workflow signals

where

WorkflowSignalWhereInput

Filtering options for workflow signals

Interfaces

  • Node

Usage Example

Query with Filtering on Signals

Relations

  • Workflow 1:N WorkflowSignal: A workflow can have multiple signals that trigger it

Purpose

Workflows represent automated business processes that are executed using Temporal.io. They can be triggered by events through WorkflowSignals and can include custom data validation through DataTypes. The taskQueue field specifies which Temporal task queue processes this workflow.

Last updated

Was this helpful?