code: public TransitionInstance getWorkTransitionInstance(Long pId)
      throws DataAccessException, ProcessException {
          TransitionInstance wti;
          TransactionWrapper transaction = null;
          EngineDataAccessDB edao = new EngineDataAccessDB();
          try {
              transaction = edao.startTransaction();
              wti = edao.getWorkTransitionInstance(pId);
          } catch (SQLException e) {
              throw new ProcessException(0, "Failed to get work transition instance", e);
          } finally {
              edao.stopTransaction(transaction);
          }
          return wti;
      }
docs: Returns the WorkTransitionVO based on the passed in params
  
  @param pId
  @return WorkTransitionINstance