Quantcast
Channel: Adobe Community : Popular Discussions - CQ5 (read only)
Viewing all articles
Browse latest Browse all 12476

Inbox Notification from Workflow

$
0
0

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


Viewing all articles
Browse latest Browse all 12476

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>