CmsClient client = new CmsClient(logonGuid);
Project project = client.getProject(sessionKey, projectGuid);
Page currentPg = project.getPageById("34009");
currentPg.undoChanges();
currentPg.reject("note name", "reject comment");
currentPg.submitToWorkflow();
currentPg.release();
currentPg.resetDraftState();