# createWorkflowStatus

> Mutation in domain **Workflows**

- HTML: [createWorkflowStatus.html](createWorkflowStatus.html)
- Raw SDL: [createWorkflowStatus.sdl](createWorkflowStatus.sdl)
- Covered by: [llms.txt](../llms.txt)

Create new `WorkflowStatus` in a given `Workflow`. Requires `basic:write` scope to be accessible and `Project` permission level `EDIT`.

Status: _(beta)_

## Returns

`CreateWorkflowStatus`

## Arguments

- `input`: `CreateWorkflowStatusInput!` _(beta)_ — `CreateWorkflowStatus` input argument.

## Example

```graphql
mutation CreateWorkflowStatus {
  createWorkflowStatus(
    input: {
      workflowId: "…"
      title: "…"
    }
  ) {
    __typename
    workflowStatus {
      name
      id
      enterRules
      assignedUsers {
        __typename
        name
        id
      }
      checklistPresets {
        id
        content
        assignedUser { id }
      }
      color {
        alpha
        blue
        green
        red
      }
      tasks {
        total
        page
        limit
        hasNextPage
        items { id }
      }
    }
  }
}
```

Raw: [`createWorkflowStatus.example.sdl`](createWorkflowStatus.example.sdl)
