-
1. Re: possible jbpm bug, multiple jbpm_bytearray and jbpm_byteblock records creation when the process start
kukeltje.ronald.jbpm.org Aug 13, 2009 12:02 PM (in response to balazska)is this pure jbpm or do you use injection/outjection of processvariables
-
2. Re: possible jbpm bug, multiple jbpm_bytearray and jbpm_byteblock records creation when the process start
balazska Aug 13, 2009 1:02 PM (in response to balazska)I use injection and outjection with Seam:
getProcessInstance().getContextInstance().getVariable(variable
);
Contexts.getBusinessProcessContext().set(variable
,variable); -
3. Re: possible jbpm bug, multiple jbpm_bytearray and jbpm_byteblock records creation when the process start
norman Aug 14, 2009 2:50 AM (in response to balazska)Do you think this is a jbpm issue or a usage issue with the Seam integration? (or just an issue with the example)
-
4. Re: possible jbpm bug, multiple jbpm_bytearray and jbpm_byteblock records creation when the process start
balazska Aug 14, 2009 8:22 AM (in response to balazska)This issue is occured my own two different Seam project too not only the dvdstore Seam example.
But I don't know this is seam+jbpm or single jbpm error. -
5. Re: possible jbpm bug, multiple jbpm_bytearray and jbpm_byteblock records creation when the process start
balazska Aug 16, 2009 7:22 AM (in response to balazska)Any idea?
thx.
-
6. Re: possible jbpm bug, multiple jbpm_bytearray and jbpm_byteblock records creation when the process start
kukeltje.ronald.jbpm.org Aug 16, 2009 1:01 PM (in response to balazska)I think it is an integration issue, maybe related to:
http://seamframework.org/Community/JBPMProcessVarsDuplicationsWhenUsingInOutTogether
-
7. Re: possible jbpm bug, multiple jbpm_bytearray and jbpm_byteblock records creation when the process start
balazska Aug 17, 2009 2:15 PM (in response to balazska)Hi!
The injection and outjection is ok, but there are two records (with same data and different id) in the jbpm bytearray and byteblock tables.
-
8. Re: possible jbpm bug, multiple jbpm_bytearray and jbpm_byteblock records creation when the process start
kukeltje.ronald.jbpm.org Aug 17, 2009 3:03 PM (in response to balazska)In jBPM 3, tasks that are started get a 'local' copy of the process level variables, so if one is related to a taskInstance and the other is not, that is normal behaviour (afaik)
-
9. Re: possible jbpm bug, multiple jbpm_bytearray and jbpm_byteblock records creation when the process start
balazska Aug 17, 2009 6:20 PM (in response to balazska)ok thx, but when I ended the process it creates 3 records(with the seam data) in these tables.
-
10. Re: possible jbpm bug, multiple jbpm_bytearray and jbpm_byteblock records creation when the process start
balazska Aug 17, 2009 6:26 PM (in response to balazska)What the role of the local copy?Because, when I delete manually these records the process running fine without side effect.
-
11. Re: possible jbpm bug, multiple jbpm_bytearray and jbpm_byteblock records creation when the process start
kukeltje.ronald.jbpm.org Aug 17, 2009 7:35 PM (in response to balazska)Long story... Search the jBPM forum (e.g. with google) on things like 'task local variables'. It is debatable whether local copies are needed and what you do when the (process global) instances have already changed. Kind of the same issues with dirty reads etc in databases.