code: public SearchResult<WorkflowSummary> searchWorkflowsByTasks(int start, int size, String sort, String freeText, String query) {
          return executionService.searchWorkflowByTasks(query, freeText, start, size, ServiceUtils.convertStringToList(sort));
      }
docs: Search for workflows based on task parameters. Use sort options as sort ASC or DESC e.g.
  sort=name or sort=workflowId:DESC. If order is not specified, defaults to ASC.
  
  @param start    Start index of pagination
  @param size     Number of entries
  @param sort     Sorting type ASC|DESC
  @param freeText Text you want to search
  @param query    Query you want to search
  @return instance of {@link SearchResult}