# updateWorkflowStatus

> Mutation in domain **Workflows**

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

Update an existing `WorkflowStatus`. Requires `basic:write` scope to be accessible and `Project` permission level `EDIT`.

Status: _(beta)_

## Returns

`UpdateWorkflowStatus`

## Arguments

- `input`: `UpdateWorkflowStatusInput!` _(beta)_ — `UpdateWorkflowStatus` input argument.

## Example

```graphql
mutation UpdateWorkflowStatus {
  updateWorkflowStatus(
    input: {
      id: "…"
      data: { }
    }
  ) {
    __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: [`updateWorkflowStatus.example.sdl`](updateWorkflowStatus.example.sdl)
