# moveWorkflowTask

> Mutation in domain **Workflows**

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

Move one or more `WorkflowTask` to a new `WorkflowStatus`. All `EnterRule` of the destination `WorkflowStatus` have to be satisfied to be able to move. Requires `basic:write` scope to be accessible and `Project` permission level `EDIT`.

Status: _(beta)_

## Returns

`MoveWorkflowTask`

## Arguments

- `input`: `MoveWorkflowTaskInput!` _(beta)_ — `MoveWorkflowTask` input argument.

## Example

```graphql
mutation MoveWorkflowTask {
  moveWorkflowTask(
    input: {
      workflowStatusId: "…"
      workflowTaskIds: ["…"]
    }
  ) {
    __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: [`moveWorkflowTask.example.sdl`](moveWorkflowTask.example.sdl)
