public String rerunWorkflow(String workflowId, RerunWorkflowRequest rerunWorkflowRequest) {
        Preconditions.checkArgument(StringUtils.isNotBlank(workflowId), "workflow id cannot be blank");
        Preconditions.checkNotNull(rerunWorkflowRequest, "RerunWorkflowRequest cannot be null");

        return postForEntity("workflow/{workflowId}/rerun", rerunWorkflowRequest, null, String.class, workflowId);
    }
public String rerunWorkflow ( String workflowId , RerunWorkflowRequest rerunWorkflowRequest ) { Preconditions . checkArgument ( StringUtils . isNotBlank ( workflowId ) , "workflow id cannot be blank" ) ; Preconditions . checkNotNull ( rerunWorkflowRequest , "RerunWorkflowRequest cannot be null" ) ; return postForEntity ( "workflow/{workflowId}/rerun" , rerunWorkflowRequest , null , String . class , workflowId ) ; }
Reruns the workflow from a specific task

@param workflowId           the id of the workflow
@param rerunWorkflowRequest the request containing the task to rerun from
@return the id of the workflow