docs: protected ProcessInstanceDesc verifyCaseIdExists(String caseId) throws CaseNotFoundException {
          ProcessInstanceDesc pi = runtimeDataService.getProcessInstanceByCorrelationKey(correlationKeyFactory.newCorrelationKey(caseId));
          if (pi == null) {
              throw new CaseNotFoundException("Case with id " + caseId + " was not found"); 
          }
          
          return pi;
      }