Discussion:
[jboss-user] [jBPM] - Human Task Email Notifications
Raj A
2013-08-06 08:29:26 UTC
Permalink
Raj A [https://community.jboss.org/people/mranraj] created the discussion

"Human Task Email Notifications"

To view the discussion, visit: https://community.jboss.org/message/831545#831545

--------------------------------------------------------------
Hi There,

I have been struggling with the email notifications in human task.


1. When a task is created, I want to send an automated email notification to the user. I don’t want to do it from my java code and wanted to use the human task to accomplish this.
Maciej Swiderski
2013-08-07 05:33:45 UTC
Permalink
Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: Human Task Email Notifications"

To view the discussion, visit: https://community.jboss.org/message/831699#831699

--------------------------------------------------------------
Task notifications are currently based on User Task Deadlines so you need to fill in details of the notification on task level (like you mentioned not-started, expires at, etc). Notify attribute is not bpmn2 attribute and there is no such custom extension either in jbpm 5.
To map user/group names to email addresses use one of available out of the box implementation of http://docs.jboss.org/jbpm/v5.4/javadocs/org/jbpm/task/UserInfo.html UserInfo class that needs to be set on deadline handler class. See some details http://mswiderski.blogspot.se/2012/06/self-managable-user-tasks-notification.html here.

I believe 5.4 is production ready.

HTH
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/831699#831699]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Loading...