code: public static TaskTemplate getTaskTemplate(String logicalId) {
          for (int i = 0; i < taskVoCache.size(); i++) {
              TaskTemplate task = taskVoCache.get(i);
              if (logicalId.equals(task.getLogicalId())) {
                 return task;
              }
          }
          return null;
      }
docs: Return the latest task id for the given logical ID