conductor
conductor copied to clipboard
Rerun API, not continue to run the following tasks ?

{
"reRunFromTaskId": "f32fc9ae-3016-4cb6-974a-5d4d929ae7c0" #{task_5 id}
}
but task_6 not running
I check the code, in com.netflix.conductor.core.execution.WorkflowExecutor#rerun
if (previousTask.getTaskId().equals(request.getReRunFromTaskId())) {
Task theTask = new Task();
theTask.setTaskId(IDGenerator.generate());
theTask.setReferenceTaskName(previousTask.getReferenceTaskName());
theTask.setInputData((request.getTaskInput() == null) ? previousTask.getInputData() : request.getTaskInput());
theTask.setWorkflowInstanceId(workflowId);
theTask.setStatus(Status.READY_FOR_RERUN);
theTask.setTaskType(previousTask.getTaskType());
theTask.setCorrelationId(wf.getCorrelationId());
theTask.setSeq(seq++);
theTask.setRetryCount(previousTask.getRetryCount() + 1);
newTasks.add(theTask);
break;
} else { // Create with Skipped status
Task theTask = new Task();
Here break, is this right?
tagging this as a bug.
This should be fixed now and is expected to be working correctly. Please reopen if you encounter this issue again.