User sender = getSession().getIdentity().getUser();
String reason = getParameterAsString(REJECT_REASON);
Workflowable workflowable = WorkflowUtil.getWorkflowable(this.manager, getSession(),
getLogger(), authoringDocument);
Version versions[] = workflowable.getVersions();
// current version is reject, want originating submit
Version version = versions[versions.length - 2];
// we assume that the document has been submitted, otherwise we do
// nothing
if (version.getEvent().equals("submit")) {
String userId = version.getUserId();
User user = PolicyUtil.getUser(this.manager, authoringDocument.getCanonicalWebappURL(),
userId, getLogger());
Identifiable[] recipients = { user };