@PostMapping("/restart")
    @Operation(summary = "Restart the list of completed workflow")
    public BulkResponse restart(
            @RequestBody List<String> workflowIds,
            @RequestParam(value = "useLatestDefinitions", defaultValue = "false", required = false)
                    boolean useLatestDefinitions) {
        return workflowBulkService.restart(workflowIds, useLatestDefinitions);
    }
Restart the list of workflows.

@param workflowIds - list of workflow Ids to perform restart operation on
@param useLatestDefinitions if true, use latest workflow and task definitions upon restart
@return bulk response object containing a list of succeeded workflows and a list of failed
    ones with errors
rest/src/main/java/com/netflix/conductor/rest/controllers/WorkflowBulkResource.java