Skip to Content
Evaluate Get Started Plugins Glossary

SQL Server

Key takeaways

The Workflow Engine SQL Server schema contains 14 persistence tables. Each table has a separate reference page that lists its purpose, columns, database-specific types, nullability, primary keys, defaults, and indexes. The provider supports SQL Server 2016 or later. Use the object list below.

The SQL Server persistence provider uses 14 tables to store Workflow Engine process definitions, runtime state, timers, history, and provider data. Open a table page below to review its columns, database types, keys, defaults, and indexes.

Supported database version

The Workflow Engine SQL Server persistence provider supports SQL Server 2016 or later. The provider source on GitHub contains the implementation for the objects listed on this page.

Database objects

The SQL Server schema contains the following 14 tables. Each table links to a separate page with its purpose, columns, database types, nullability, primary keys, defaults, and indexes.

SQL Server database objects
ObjectTypePurpose
VersionInfoTableRecords which Workflow Engine migrations have been applied.
WorkflowApprovalHistoryTableStores approval decisions associated with process instances.
WorkflowFormTableStores versioned form definitions used by Workflow Engine.
WorkflowGlobalParameterTableStores tenant-aware runtime values and other global parameters.
WorkflowInboxTableMaps process instances with identities that have pending inbox items.
WorkflowProcessInstanceTableStores the current state and execution metadata for process instances.
WorkflowProcessInstancePersistenceTableStores persisted parameter values for process instances.
WorkflowProcessInstanceStatusTableStores process execution status, locks, and runtime ownership.
WorkflowProcessSchemeTableStores compiled process schemes used by running process instances.
WorkflowProcessTimerTableStores scheduled timer work for process instances.
WorkflowProcessTransitionHistoryTableStores the transition history recorded for process instances.
WorkflowRuntimeTableStores registered runtime nodes and their coordination state.
WorkflowSchemeTableStores editable workflow scheme definitions by code.
WorkflowSyncTableStores coordination locks used by Workflow Engine runtime services.

Frequently asked questions

What is the minimum supported SQL Server version?

The Workflow Engine SQL Server persistence provider supports SQL Server 2016 or later.

How many tables are in the Workflow Engine SQL Server schema?

The SQL Server schema contains 14 tables. The Database objects section links to a separate reference page for each table.

Why can the SQL Server schema differ from another provider?

The SQL Server provider uses database-specific data types, identifier rules, defaults, and index syntax while implementing the same Workflow Engine persistence contracts.