[jboss-user] [jBPM Users] - Re: EventListener questions
do-not-reply at jboss.com
Wed Nov 4 09:18:39 EST 2009
anonymous wrote : I have to say that I don't understand the workaround you have proposed. I've been re-thinking this and it came to my mind that thinking in a transition-wise way actually I would have to get the activitiy the transition originates from and than retrieve the corresponding task since it's an activity of type task, right?
Yes, you're correct. But this doesn't simplify the problem
anonymous wrote : Could you try to explain your proposition a bit more?
I was thinking something simple: attach an eventlistener to the task-end event. When the eventlistener is called, it simply sets the current task name/id/whatever as a process variable.
In the next task you can use this variable.
Like a said, this is a quick hack-aroo solution which can work until we enlarge the history event capabilities
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263949#4263949
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263949
More information about the jboss-user