-
1. Re: JBPM process vars duplications when using @In+@Out together
kukeltje.ronald.jbpm.org May 26, 2008 12:31 AM (in response to trouby)I'm pretty sure it is a bug. I've been struggling with this some months ago and eventually just used the same solution you did. I've not had the time (nor the knowledge of Seam internal) to track this down. Since I was not sure it was my fault, I did not file a bug in Jira. Lately (you are the second in a week) I became convinced it is a bug.
-
2. Re: JBPM process vars duplications when using @In+@Out together
pmuir May 29, 2008 4:46 PM (in response to trouby)File an issue in JIRA and clearly state the issue (I don't understand Asaf's post)
-
3. Re: JBPM process vars duplications when using @In+@Out together
kukeltje.ronald.jbpm.org Jun 1, 2008 10:46 PM (in response to trouby)I will, have to make a full test case first though, so it can be attached to the jira issue. Due to moving to my new house and the upcomming jBPM community day this will not happen in two weeks. Maybe Asaf can help out.
-
4. Re: JBPM process vars duplications when using @In+@Out together
xnejp03.pnejedly.ondemand.co.uk Jan 6, 2009 1:21 PM (in response to trouby)Has onyone filed JIRA for this? I have this use case:
SFSB (among others) outjecting variables into BP context when creating the process. Any time I call another method on the bean the variables are null (not injecting them back) and therefore removed from the JBPM table of variables. Is this expected scenario?
If yes, do I have to also inject the variables? Or create a standalone bean responsible only for creating the process (and outject them only here)?
Thanks,
Petr -
5. Re: JBPM process vars duplications when using @In+@Out together
kukeltje.ronald.jbpm.org Jan 6, 2009 2:16 PM (in response to trouby)No, I haven't, sorry. The code I had the problem with got lost and I do not know in detail how to recreate. If you have some example that demonstrates the problem, I'm happy to turn that into a unittest
The problem you is not the expected scenario. Has something to do with the scope. In jBPM you can set variables on processlevel (businessscope) and tasklevel (combination of a specific conversation and businessscope) So maybe it was oversimplified in seam.
-
6. Re: JBPM process vars duplications when using @In+@Out together
xnejp03.pnejedly.ondemand.co.uk Jan 6, 2009 4:48 PM (in response to trouby)Thanks Roland. i know about the level, went thorugh Seam source as well. I had a SFSB with method startProcess() and doTask(). Process was created, variables outjected, everything ok. As soon as doTask() was called on the bean, it outjected the variables with null values, which basically dereferenced them from the instance/token.
I ended up extracting the startProcess() method into a stateless Seam component including only this one method and it works ok now.
P.