Skip to main content

Restart Workflow

Restart a workflow execution from the beginning with the same input. This operation has no effect when called on a workflow that is not in a terminal status. If useLatestDefinition is set, the restarted workflow fetches the latest definition from the metadata store.

Input Payload

AttributeDescription
workflowIdThe unique identifier of the workflow to be restarted.

API Endpoint

POST /workflow/{workflowId}/restart

Client SDK Methods

BulkResponse restartWorkflow(List<String> workflowIds, Boolean useLatestDefinitions) throws ApiException