code: public List<Integer> getRunningFlowIds() {
      final List<Integer> allIds = new ArrayList<>();
      try {
        getExecutionIdsHelper(allIds, this.executorLoader.fetchUnfinishedFlows().values());
      } catch (final ExecutorManagerException e) {
        this.logger.error("Failed to get running flow ids.", e);
      }
      return allIds;
    }
docs: Get execution ids of all running (unfinished) flows from database.