Forgot to tell that I use Seam 2.0.0 BETA 1 and JBPM 3.2.2
I solved my problem ! In fact my Seam component with action methods was both a "JBPM listener" and "JSF listener". It had methods with @StartTask end @EndTask annotations, that were called from a JSF page. I finally thought that it was not a good architecture choice, so I splitted my Seam component in a JSF listener component (with @StartTask and @EndTask annotated methods) and a JBPM listener component. And the injection of business process instance and variables into this JBPM listener worked !
So what I see is that you can't have @StartTask and @EndTask methods in a JBPM listener. Is it something expected or is it a bug ? And if this is not a bug, could anyone explain to me the reason of all this ?
Thanks in advance
I think i've got the same problem.
Everything works fine except the injection from the business-process-scope
the variable is in the jbpm tables...
has anyone a hint on this?
do I have to resume the process additionally to starting the task?
because when a method of my SFSB is called from the jpdl the injection works fine.
but not from my.xhtml
using Seam 1.2.1GA