public BulkResponse retry(List<String> workflowIds) {
        BulkResponse bulkResponse = new BulkResponse();
        for (String workflowId : workflowIds) {
            try {
                workflowExecutor.retry(workflowId, false);
                bulkResponse.appendSuccessResponse(workflowId);
            } catch (Exception e) {
                LOGGER.error(
                        "bulk retry exception, workflowId {}, message: {} ",
                        workflowId,
                        e.getMessage(),
                        e);
                bulkResponse.appendFailedResponse(workflowId, e.getMessage());
            }
        }
        return bulkResponse;
    }
Retry the last failed task for each workflow from the list.

@param workflowIds - list of workflow Ids to perform retry operation on
@return bulk response object containing a list of succeeded workflows and a list of failed
    ones with errors
core/src/main/java/com/netflix/conductor/service/WorkflowBulkServiceImpl.java