[jboss-user] [jBPM Users] - Re: EventListener questions

jbarrez do-not-reply at jboss.com
Wed Nov 4 08:39:14 EST 2009


Getting the previous task is indeed tricky. Because it depends on what you call 'previous'. The previous one in the process, transition-wise (as you state). Or is it the previous task that has been done by the same assignee (easy to retrieve) in potentially some parallel path?

For me it is the latter, but for you obviously it isn't.

A easy workaround is using an eventlistener and storing the 'previous task' as a process var ... (or only the id of the historyTask) ... albeit this is just a very quick workaround.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263935#4263935

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263935



More information about the jboss-user mailing list