Rerun Workflow
Reruns a workflow from a specific task (ReRunFromTaskId) and optionally change the input. If required, it also updates the completed tasks with new input (ReRunFromTaskId).
Input Payload
Attribute | Description |
---|---|
workflowId | The unique identifier of the workflow to be rerun. |
API Endpoint
POST /workflow/{workflowId}/rerun
{
"reRunFromTaskId": "TASK_ID_TO_REREUN_FROM",
"taskInput": {
//Extra inputs to the task
},
"workflowInput": {
//Changes to workflow inputs as part of re-run
}
}
Client SDK Methods
- Java
- Go
- Python
- C#
- JavaScript
- Typescript
- Clojure
String rerunWorkflow(String workflowId, RerunWorkflowRequest rerunWorkflowRequest)
func (e *WorkflowExecutor) ReRun(workflowId string, reRunRequest model.RerunWorkflowRequest) (id string, error error)
WorkflowResourceApi.rerun(self, body, workflow_id, **kwargs)
string WorkflowResourceApi.Rerun(RerunWorkflowRequest body, string workflowId)
WorkflowExecutor.rerun(
workflowId: string,
requestBody: RerunWorkflowRequest,
): CancelablePromise<string>
WorkflowResourceService.rerun(
workflowId: string,
requestBody: RerunWorkflowRequest,
): CancelablePromise<string>
(workflow-resource/rerun-workflow [options workflow-id rerun-wf-request])