Hi,
I've got a problem with Inbox Notification.
I want to inform an author about all steps during the workflow process (activated, deactivated, terminated) using Inbox Notification (not e-mail!)
I found a class InboxManagerImpl (method createMessage) so I create a method in ParticipantStepChooser class:
void sendTheNotification(WorkflowSession session) throws IOException {
com.day.cq.wcm.notification.inbox.impl.MessageImpl message = (MessageImpl) new InboxManagerImpl().createMessage(session.getUser());
message.setReason("Workflow has been Terminated");
message.save();
}
but after it, on my OSGi Console in CQ5, in the section Bundles I have sth like this:
com.day.cq.wcm.notification.inbox -- Cannot be resolved
com.day.cq.wcm.notification.inbox.impl -- Cannot be resolved
Can someone help me?
Question: How to create an Inbox Message (in Notification Inbox) using Java code?
Regards
Michal