> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sensorup.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Workflow Subgraph Reference

> Technical reference for the su-workflow subgraph providing workflow state machines.

# Workflow Subgraph Reference

The `su-workflow` subgraph provides workflow definitions and state machine management.

## Subgraph Information

* **Name**: `su-workflow`
* **Routing URL**: `https://mx2birfjx1.execute-api.us-west-2.amazonaws.com/poc/graphql`
* **Last Updated**: 2023-10-13
* **SDL**: [View Schema](../schemas/sdl/su-workflow.graphql)

## Overview

Workflow state machines, transitions, and orchestration.

## Root Query Fields

```graphql theme={null}
extend type Query {
  workflows(withInternal: Boolean): Workflows
}
```

## Root Mutation Fields

```graphql theme={null}
extend type Mutation {
  createWorkflow(input: CreateWorkflowInput!): WorkflowMutationResult!
  cloneWorkflow(id: ID!): WorkflowMutationResult!
  updateWorkflow(input: UpdateWorkflowInput!): WorkflowMutationResult!
  deleteWorkflow(id: ID!): WorkflowMutationResult!
  transferWorkflow(id: ID!, group: String!, username: String!): WorkflowMutationResult!
  activateWorkflow(id: ID!): WorkflowMutationResult!
  deactivateWorkflow(id: ID!): WorkflowMutationResult!
}
```

## Related Resources

* **[Full SDL Schema](../schemas/sdl/su-workflow.graphql)** - Complete type definitions
