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

sebastian.s do-not-reply at jboss.com
Wed Nov 4 02:39:41 EST 2009

I haven't found a way to achieve this using the HistoyTaskQuery. I would like to retrieve the task where the transition originates from.

  | HistoryTask task = HistoryService.createHistoryTaskQuery().executionId(execution.getId()).unique

worked fine for me as long as I just had one task in the process definition. Am I missing anything or is this really as tricky as it seems to be to retrieve the previous task?

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

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

More information about the jboss-user mailing list