# resumeRunsPausedWithWorkflow

Wake the runs a workflow pause left parked (getWorkflow runsPausedWithWorkflow) on a workflow that is live again; each restarts at the step it reached and its messages go out. Never turns the workflow on: refused when it has no live version. Runs paused for any other reason stay paused. Say how many runs first.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "resumeRunsPausedWithWorkflow", "variables": {...} }`
- Scope: `WRITE`
- Type: mutation
- Idempotency: honors `Idempotency-Key` (24 h)
- Rate-limited: no

## Variables

- `workflowGroupId`: `ID!` (required)

## Response (data, an example)

```json
{
  "workflowAutomationsMutation": {
    "resumeRunsPausedWithWorkflow": {
      "id": "<ID>",
      "status": "DRAFT",
      "runsPausedWithWorkflow": 0
    }
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "operationId": "resumeRunsPausedWithWorkflow",
    "variables": {
      "workflowGroupId": "<workflowGroupId>"
    }
  }'
```
