Workflow

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

active

Boolean!

Whether the workflow is currently active

filterRule

String

Optional filter rule for conditional execution

workflowsignals

[WorkflowSignal!]

Signals that can trigger this workflow

Interfaces

  • Node

Usage Example

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 active field allows workflows to be enabled or disabled, and the filterRule field provides conditional execution logic.

Last updated

Was this helpful?