Portal Community

Endpoint

POST /api/executions/{executionResId}/resume
Authorization: Bearer {actorToken}
Content-Type: application/json

{
  // Response data — structure depends on HIL task type:
  // Approval: { "decision": "Approved"|"Rejected", "comment": "..." }
  // UserForm: { field1: value1, field2: value2, ... }
  // Review:   { "acknowledged": true, "comment": "..." }
}

Response Codes

CodeMeaning
202 AcceptedResume accepted — execution restarted asynchronously
400 Bad RequestInvalid response data (e.g., missing required fields for a form)
401 UnauthorizedNo valid JWT
403 ForbiddenActor's tenant does not match the suspension's tenant
404 Not FoundExecutionResId not found
409 ConflictToken already consumed — execution already resumed
410 GoneToken expired — suspension exceeded its deadline

Approval Resume Example

POST /api/executions/3f9c4b2a-7e8d-4c1f-a3b6-9d0e1f2a3b4c/resume
Authorization: Bearer eyJ...
Content-Type: application/json

{
  "decision": "Approved",
  "comment" : "Reviewed the contract — terms are acceptable for Q3."
}

// Response: 202 Accepted
// { "executionId": "exec-123", "status": "Resuming" }

Form Resume Example

POST /api/executions/a1b2c3d4-.../resume

{
  "employeeName" : "Jane Doe",
  "department"   : "Engineering",
  "startDate"    : "2026-06-01",
  "salary"       : 90000,
  "notes"        : "Senior engineer — approve relocation package"
}

Asynchronous Continuation

The API returns 202 immediately after validating the token and response data. The actual engine continuation (re-loading memory, continuing the workflow) happens asynchronously on a background task. The actor's channel does not need to wait for the workflow to complete.

To track execution progress after resume, use the SignalR execution hub (Guide6) or poll GET /api/executions/{executionId}/status.