code: public SearchResult<WorkflowSummary> search(Integer start, Integer size, String sort, String freeText, String query) {
          Object[] params = new Object[]{"start", start, "size", size, "sort", sort, "freeText", freeText, "query", query};
          return getForEntity("workflow/search", params, searchResultWorkflowSummary);
      }
docs: Paginated search for workflows based on payload
  
  @param start    start value of page
  @param size     number of workflows to be returned
  @param sort     sort order
  @param freeText additional free text query
  @param query    the search query
  @return the {@link SearchResult} containing the {@link WorkflowSummary} that match the query