# unpauseWorkflowSchedule

Audience: Developer

Resumes a paused schedule.

Resumes a paused schedule. Requires the WRITER role on the tenant.

The schedule's note records who last resumed it and the caller's `note`;
every pause or unpause replaces it.

The mutation can fail after Temporal applied the change, when the schedule
cannot be read back; the error then says so. Resuming a running schedule
succeeds, so repeating the call is safe.

**Served by:** [workflow](https://docs.pyck.cloud/dev/api/services/workflow.md)

## Arguments

| Name | Type |
| --- | --- |
| `input` | [UnpauseWorkflowScheduleInput](https://docs.pyck.cloud/dev/api/inputs/unpauseworkflowscheduleinput.md)! |

## Returns

[WorkflowSchedule](https://docs.pyck.cloud/dev/api/types/workflowschedule.md)!

## Example

```graphql
mutation UnpauseWorkflowSchedule($input: UnpauseWorkflowScheduleInput!) {
  unpauseWorkflowSchedule(input: $input) {
    id
    nextActionTimes
    note
    paused
    recentActions {
      actualTime
      runID
      scheduleTime
      workflowID
    }
    spec {
      calendars {
        comment
        dayOfMonth {
          end
          start
          step
        }
        dayOfWeek {
          end
          start
          step
        }
        hour {
          end
          start
          step
        }
        minute {
          end
          start
          step
        }
        month {
          end
          start
          step
        }
        second {
          end
          start
          step
        }
        year {
          end
          start
          step
        }
      }
      endAt
      intervals {
        offsetSeconds
        periodSeconds
      }
      jitterSeconds
      skip {
        comment
        dayOfMonth {
          end
          start
          step
        }
        dayOfWeek {
          end
          start
          step
        }
        hour {
          end
          start
          step
        }
        minute {
          end
          start
          step
        }
        month {
          end
          start
          step
        }
        second {
          end
          start
          step
        }
        year {
          end
          start
          step
        }
      }
      startAt
      timeZoneName
    }
    workflowType
  }
}
```
