[prev in list] [next in list] [prev in thread] [next in thread]
List: jboss-user
Subject: [jboss-user] [jBPM Development] New message: "Perhaps a bug in
From: Robert Moskal <do-not-reply () jboss ! com>
Date: 2010-02-27 21:08:40
Message-ID: 1815927033.325901267304920604.JavaMail.jboss () clearspace02 ! app ! mwc ! hst ! phx2 ! redhat ! com
[Download RAW message or body]
User development,
A new message was posted in the thread "Perhaps a bug in createHistoryActiv=
ityInstanceQuery when process has a fork":
http://community.jboss.org/message/528988#528988
Author : Robert Moskal
Profile : http://community.jboss.org/people/rmoskal
Message:
--------------------------------------------------------------
Greetings:
=C2=A0
I've been experimenting with process with forks.=C2=A0 If I execute such a =
process from beginning to end, and then execute an activity query only cert=
ain nodes come back (the ones that aren't on the forked execution path). So=
if I have a process that looks like this:
=C2=A0
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 state2
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0 /=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \
start - state1 -- fork=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0 /=C2=A0 join - state4 - end
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 \state3
=C2=A0
Only state1 and state4 come back when I query like this:
historyService.createHistoryActivityInstanceQuery().executionId(processInst=
ance.getId()).list()
=C2=A0
I can find state2 and 3 if I justquery on the activity, but they have a dif=
ferent execution id.=C2=A0 Attached is a unit test that follows the form of=
the JBPM ones.=C2=A0 It shows all these behaviors.
=C2=A0
Is tis a bug, or am I just misunderstanding the way to get the history for =
a process?=C2=A0 I originally saw this behavior with 4.1, but have also tes=
ted with 4.4.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org=
/message/528988#528988
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic