---
title: "Changes to Update a workflow state by updating variables or in progress task"
method: POST
path: "/api/workflow/{workflowId}/state"
---

# Changes to Update a workflow state by updating variables or in progress task

`POST /api/workflow/{workflowId}/state`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 6 revisions.

- **2026-10-10** `a142cbe9d486`: 11 breaking, 1 warning, 7 info

## Changes

- **2026-10-10** `a142cbe9d486`: 11 breaking, 1 warning, 7 info
  - the request's body type changed from no type to `object`
  - the `taskResult/taskId` request property's minLength was increased from `0` to `1`
  - the `taskResult/workflowInstanceId` request property's minLength was increased from `0` to `1`
  - the `taskResult` request property type changed from no type to `object`
  - the `taskResult/executionMetadata` request property type changed from no type to `object`
  - the `taskResult/logs/items/` request property type changed from no type to `object`
  - the `taskResult/orCreateExecutionMetadata` request property type changed from no type to `object`
  - the response property `tasks/items/taskDefinition/name` became optional for the status `200`
  - the response property `tasks/items/workflowTask/name` became optional for the status `200`
  - the response property `tasks/items/workflowTask/taskDefinition/name` became optional for the status `200`
  - the response property `tasks/items/workflowTask/taskReferenceName` became optional for the status `200`
  - added the new `BLOCKING_TASK_LIST` enum value to the `responseType` response property for the response status `200`
  - the request property `taskResult/taskId` became optional
  - the request property `taskResult/workflowInstanceId` became optional
  - added the optional property `blockingTaskId` to the response with the `200` status
  - added the optional property `blockingTaskReferenceName` to the response with the `200` status
  - added the optional property `targetWorkflowVariables` to the response with the `200` status
  - added the optional property `tasks/items/workflowTask/onStateChange/additionalProperties/items/payload` to the response with the `200` status
  - added the required property `tasks/items/workflowTask/onStateChange/additionalProperties/items/type` to the response with the `200` status

---

[Operation](https://skmtc.dev/orkescloud/apis/orkes-conductor-api-server/docs/api/workflow/:workflowId/state/post.md) - [API](https://skmtc.dev/orkescloud/apis/orkes-conductor-api-server.md) - [Page](https://skmtc.dev/orkescloud/apis/orkes-conductor-api-server/changes/api/workflow/:workflowId/state/post)
