private static List<AppResult> getRestFlowResultsFromFlowExecutionId(String flowExecId) {
    List<AppResult> results = AppResult.find.select("*").where().eq(AppResult.TABLE.FLOW_EXEC_ID, flowExecId).order()
        .desc(AppResult.TABLE.FINISH_TIME).findList();
    return results;
  }
Returns a list of AppResult with the the given flowExecId
@param flowExecId The flow execution id of the flow
@return The list of AppResult filtered by flow execution id
app/controllers/api/v1/Web.java