code: public Transition getTransition(Long fromId, Integer eventType, String completionCode) {
          Transition ret = null;
          for (Transition transition : getTransitions()) {
              if (transition.getFromId().equals(fromId)
                      && transition.match(eventType, completionCode)) {
                  if (ret == null) ret = transition;
                  else {
                      throw new IllegalStateException("Multiple matching work transitions when one expected:\n"
                              + " processId: " + getId() + " fromId: " + fromId + " eventType: "
                              + eventType + "compCode: " + completionCode);
                  }
              }
          }
          return ret;
      }
docs: Finds one work transition for this process matching the specified parameters
  @param fromId
  @param eventType
  @param completionCode
  @return the work transition value object (or null if not found)