---
url: "https://vueda.dev/v3/reference/api/js/stores/storeWorkflow.md"
title: "stores/storeWorkflow"
---

# stores/storeWorkflow

## Overview

Pinia store for fetching and caching the workflow transitions a user may run on a model and the workflow state history of objects, and for executing transitions on objects.

## Methods

- [getUsingVuedaWorkflow](/v3/reference/api/js/stores/storeWorkflow/functions/getUsingVuedaWorkflow.md) - Returns whether the vueda workflow module is active.
- [setUsingVuedaWorkflow](/v3/reference/api/js/stores/storeWorkflow/functions/setUsingVuedaWorkflow.md) - Set the usingVuedaWorkflow value.
- [storeWorkflow](/v3/reference/api/js/stores/storeWorkflow/functions/storeWorkflow.md) - A pinia store for the workflow transitions a user may run on each model and the workflow state history of each object.

## Types

### [WorkflowHistoryEntry](/v3/reference/api/js/stores/storeWorkflow/types/WorkflowHistoryEntry.md)

### [WorkflowState](/v3/reference/api/js/stores/storeWorkflow/types/WorkflowState.md)

### [WorkflowTransition](/v3/reference/api/js/stores/storeWorkflow/types/WorkflowTransition.md)

### [WorkflowStore](/v3/reference/api/js/stores/storeWorkflow/types/WorkflowStore.md)

`WorkflowStore = ReturnType`

## Source

`client/lib/stores/storeWorkflow.js:1`
