-
-
2. Re: fork node
kukeltje Sep 4, 2008 2:51 PM (in response to provajbpm)define:
display information about two states
-
3. Re: fork node
provajbpm Sep 10, 2008 4:27 AM (in response to provajbpm)after fork i've two "state" nodes. i want to control if their execution are running...
i've assign 2 action for each node ! -
4. Re: fork node
kukeltje Sep 10, 2008 6:36 AM (in response to provajbpm)you can use the jbpm api to retrieve the status of these specific nodes, but somehow I think this is not the answer you are looking for
-
5. Re: fork node
provajbpm Sep 15, 2008 10:16 AM (in response to provajbpm)ok i can explain better with my code:
<fork name="send payment">
<event type="node-enter">
<action name="control payment choose" class="com.sample.action.ControlPayChoose"></action>
</event>
<transition name="credit card" to="credit card pay"></transition>
<transition name="money" to="money pay"></transition>
</fork>
now, if i assign to "credit card pay" state 2 long action and to "money pay" stat 1 short action, how i can to know in which state is my flow ? have i to add a join state and add an action to control the states ?
waiting for reply. thanks -
6. Re: fork node
provajbpm Sep 15, 2008 10:18 AM (in response to provajbpm)quote <
< fork name="send payment">
> -
7. Re: fork node
provajbpm Sep 15, 2008 10:18 AM (in response to provajbpm)quote <
< fork name="send payment">
< event type="node-enter">
< action name="Control payment choose" class="com.sample.action.ControlPayChoose">
< /event>
< transition name="credit card" to="credit card pay">
< transition name="money" to="money pay">
</ fork >
> -
8. Re: fork node
provajbpm Sep 15, 2008 10:18 AM (in response to provajbpm)ok i can explain better with my code:
< fork name="send payment">
< event type="node-enter">
< action name="control payment choose" class="com.sample.action.ControlPayChoose"></action>
< /event>
< transition name="credit card" to="credit card pay"></transition>
< transition name="money" to="money pay"></transition>
< /fork>
now, if i assign to "credit card pay" state 2 long action and to "money pay" stat 1 short action, how i can to know in which state is my flow ? have i to add a join state and add an action to control the states ?
waiting for reply. thanks -
9. Re: fork node
provajbpm Oct 13, 2008 3:28 AM (in response to provajbpm)this is an image of my problem:
http://www.flickr.com/photos/31362199@N03/2936824185/ -
10. Re: fork node
kukeltje Oct 13, 2008 6:45 AM (in response to provajbpm)by using the api... tokens can have a parent, if that parent token has more than one child token, it is a fork. Childtokens are also in nodes which you can get to by using the api
And yes, you should always have a join. Fully nested!!! -
11. Re: fork node
provajbpm Oct 13, 2008 10:40 AM (in response to provajbpm)ok but why if i'm in ST1 state
and call Token parent = token.getParent();
parent is null ????? -
-
13. Re: fork node
kukeltje Oct 13, 2008 11:43 AM (in response to provajbpm)and make a unittest that demonstrates the problem
-