public void retryWorkflow(String workflowId, boolean resumeSubworkflowTasks) {
        workflowExecutor.retry(workflowId, resumeSubworkflowTasks);
    }
Retries the last failed task.

@param workflowId WorkflowId of the workflow.
core/src/main/java/com/netflix/conductor/service/WorkflowServiceImpl.java