Skip to Content
Evaluate Get Started Plugins Glossary

Workflow Scheme

The WorkflowScheme table is part of the PostgreSQL database schema used by Workflow Engine. The WorkflowScheme table stores editable workflow scheme definitions by code. This page lists the table columns in database order together with types, nullability, primary keys, defaults, and indexes.

Table columns

The WorkflowScheme table contains 7 columns in database order. Data types and default expressions use the syntax defined by PostgreSQL.

WorkflowScheme columns
PositionColumnDatabase typeNullablePrimary keyDefault
1Codecharacter varying(256)NoNo-
2SchemetextNoNo-
3CanBeInlinedbooleanNoNofalse
4InlinedSchemescharacter varying(1024)YesNo-
5Tagscharacter varying(1024)YesNo-
6IduuidNoYes-
7TenantIdcharacter varying(128)YesNo-

Database indexes

The WorkflowScheme table defines 2 database indexes. Definitions retain the column or field order and sort direction used by the database.

WorkflowScheme indexes
IndexUniqueDefinition
WorkflowScheme_Code_TenantId_idxYesCREATE UNIQUE INDEX "WorkflowScheme_Code_TenantId_idx" ON public."WorkflowScheme" USING btree ("Code", "TenantId") NULLS NOT DISTINCT
WorkflowScheme_pkeyYesCREATE UNIQUE INDEX "WorkflowScheme_pkey" ON public."WorkflowScheme" USING btree ("Id")