[jboss-user] [jBPM] - Re: jbpm 5.2 on JBoss 6 - User Registration "Quest"

gardellajp do-not-reply at jboss.com
Tue Jan 24 06:27:27 EST 2012


gardellajp [https://community.jboss.org/people/gardellajp] created the discussion

"Re: jbpm 5.2 on JBoss 6 - User Registration "Quest""

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

--------------------------------------------------------------
Hi Markus,

At first, I'm not speak english, so sorry my mistakes in the writing  :) 

> Next question is, how can I generate this email and send it to the user ? Do I have to write a task handler for sending this email and inserting the link and user's email address ?
In BPMN 2, to this type of task you must use a Service Task. Check  http://docs.jboss.org/jbpm/v5.2/userguide/ch13.html Domain-Specific processes. jBPM provide a built-in task for this purpose.


>  How can I get back from the confirmation-endpoint (where the emailed link points to) back to the task to complete it ?
You must build a link inside the mail that have the taskId that you want to complete it. This link will forwarded to some service that pick the taskId and with  http://docs.jboss.org/jbpm/v5.2/userguide/ch.Human_Tasks.html Human Task Api you can complete it.


> And finally - how can I include a ... whatever.... that automatically removes the pending confirmation tasks and assiciated data, if the user does not click the confirmation link within 3 days ?
In theory with Time Event Boundary event, but jBPM don't have a built-in persistent timer. You can vote  https://issues.jboss.org/browse/JBPM-3170 JBPM-3170, however in the issue you can find a workaround.

Cheers,
Juan
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://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/20120124/61874a66/attachment-0001.html 


More information about the jboss-user mailing list