Skip to main content

Update Task Status in Workflow

Used to update the execution status of the task within a workflow instance.

Input Payload

workflowIdThe unique identifier of the workflow to which the task belongs.
taskRefNameThe reference name of the task whose status is being updated.
statusProvide the new status to be set for the task. It can take values: IN_PROGRESS, COMPLETED, or FAILED.

API Endpoint

POST /tasks/{workflowId}/{taskRefName}/{status}

Client SDK Methods

String OrkesTaskClient.updateTaskByRefName(Map<String, Object> output, String workflowId, String taskRefName, String status) throws ApiException