Previous Next JavaScript must be enabled to correctly display this content

## 20.1.1 About Workflow Versions

A workflow version can be in three different states: In Development, Active, or Inactive.

A Workflow Version refers to a specific version of a workflow definition. There are three types of workflow versions:

- In Development workflows are editable, but you can only run them in the developer session. Only one version of a workflow can be in development at a time.
- Active workflows are partially editable. Only one version of a workflow can be active at a time. You cannot move an active workflow back to in development.
- Inactive workflows are no longer active, and you cannot use an inactive version of a workflow to start a new workflow instance. Multiple versions of a workflow can be inactive at a time. You can delete an inactive workflow. Deleting an inactive workflow definition also deletes any workflow instances associated with it.

  Note:

  A workflow instance that is currently running continues to run until complete, even if the workflow definition the instance is based on becomes inactive while the instance is still running.

When you create a workflow version, it is In Development. Once you are satisfied with the workflow model, you can move the workflow version to Active. If you move a development version to active, APEX moves the currently active workflow to inactive. You can delete or duplicate inactive workflows.

For applications running in a developer session, APEX uses the development version of the workflow to start a new workflow instance. Otherwise, APEX uses the active version of the workflow.

Parent topic: About Workflows