[jboss-user] [jBPM] - Re: How to query tasks
Maciej Swiderski
do-not-reply at jboss.com
Fri Dec 23 05:10:21 EST 2011
Maciej Swiderski [http://community.jboss.org/people/swiderski.maciej] created the discussion
"Re: How to query tasks"
To view the discussion, visit: http://community.jboss.org/message/643019#643019
--------------------------------------------------------------
Tommer, for what you describe human task notifications sound like perfect fit. They are part of deadlines configuration of a task. To be more precise start deadline. In general, start deadline is reached when task is not started before the given time expires. There are two options for deadline escalation:
* notification
* reassignment
Both can be used at the same time, but in your case notification is more interesting.
Notification (email notification) can be sent to some recipients that are not assigned directly to a task, which could be what you are looking for since there is no user registered at the moment.
Unfortunately there is no out of the box support to define deadlines in BPMN2, at least I do not know it. So extension of *HumanTaskHandler class will be required to setup deadlines on the task. Some additional configuration is needed on Task Server side as well, for details about task server please have a look at: https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/src/test/java/org/jbpm/task/service/TaskServiceDeadlinesBaseTest.java https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/src/test/java/org/jbpm/task/service/TaskServiceDeadlinesBaseTest.java
HTH
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/643019#643019]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111223/d7ffd805/attachment.html
More information about the jboss-user
mailing list