Resume workflow

Resumes a paused workflow and executions paused by the workflow pause action. It does not create a new run.

HTTP
POST $CLOUDSIGMA_API_BASE/workflow/v2/workflow-apps/{workflow_id}/resume

Before you call this API

Configure the regional API endpoint and authentication, and select the target workspace.

Use Get workflow details to confirm the workflow.

Path parameters

Replace $CLOUDSIGMA_API_KEY, $WORKSPACE_ID, and $WORKFLOW_ID with your own values.

Shell
curl -X POST "$CLOUDSIGMA_API_BASE/workflow/v2/workflow-apps/$WORKFLOW_ID/resume" \
  -H "X-API-Key: $CLOUDSIGMA_API_KEY" \
  -H "X-Workspace-ID: $WORKSPACE_ID"

Parameter

Type

Required

Description

workflow_id

string

Yes

Workflow ID to resume.

Successful response

Returns 200 with the resumed workflow detail. Other workflow detail fields follow Get workflow details.

JSON
{"code": "OK", "msg": "OK", "data": {"workflow": {"id": "wf-001", "name": "daily-import", "status": "ready", "available_actions": ["update", "delete", "run", "pause"], "execution_summary": {"total_executions": 8, "active_executions": 0}}}}

The following fields are in data.workflow.

Field

Type

Description

code

string

OK on success.

msg

string

OK on success.

data.workflow

object

Resumed workflow detail.

id

string

Workflow ID.

name

string

Workflow name.

status

string

Status after resuming.

available_actions

string[]

Actions allowed in the current state.

execution_summary

object

Execution summary.

execution_summary.total_executions

integer

Total executions.

execution_summary.active_executions

integer

Active executions.

Error response

JSON
{"code": "ErrConflict", "msg": "Resource state conflict", "data": null}

Field

Type

Description

code

string

Error code.

msg

string

Error message.

data

null

Empty on error.

Next steps

Keep data.workflow.id. Use Start a workflow job to run it now, or Get workflow details to check its status.

Last updated on