public void restart(String workflowId, boolean useLatestDefinitions) {
        Validate.notBlank(workflowId, "workflow id cannot be blank");
        Object[] params = new Object[] {"useLatestDefinitions", useLatestDefinitions};
        postForEntity("workflow/{workflowId}/restart", null, params, Void.TYPE, workflowId);
    }
Restart a completed workflow

@param workflowId the workflow id of the workflow to be restarted
@param useLatestDefinitions if true, use the latest workflow and task definitions when
    restarting the workflow if false, use the workflow and task definitions embedded in the
    workflow execution when restarting the workflow
client/src/main/java/com/netflix/conductor/client/http/WorkflowClient.java