This content has been marked as final.
Show 5 replies
-
1. Re: Wait state how to?
kukeltje Apr 3, 2007 6:09 PM (in response to viniciuscarvalho)look at the testcases in the source... so much info in there
-
2. Re: Wait state how to?
wjm Apr 3, 2007 6:48 PM (in response to viniciuscarvalho)
What I'd want is the node "Wait for Approval" stay in a wait state untill other entity signals it. But it's just executing it and continuing the flow.
What have I missed?
Assuming "Wait for Approval" is a task-node, you have several options for making it sit on its hands. The node's signal attribute can be set, or its task(s) signalling attribute(s) can may be utilized. See chapter 18.4 (schema) of the userguide for details. Ordinary nodes dont have the signal attributes, but I imagine something could be done with an actionhandler to make things go slower....
----
Bill -
3. Re: Wait state how to?
kukeltje Apr 3, 2007 7:22 PM (in response to viniciuscarvalho)in 3.1 ordinary nodes were waitstates, in 3.2 this changed to it not being a wait state (afaik, or was that in the new upcomming core?)
-
4. Re: Wait state how to?
viniciuscarvalho Apr 3, 2007 7:29 PM (in response to viniciuscarvalho)"kukeltje" wrote:
in 3.1 ordinary nodes were waitstates, in 3.2 this changed to it not being a wait state (afaik, or was that in the new upcomming core?)
I'm using 3.2, so does it mean that my ordinary node ain't in a wait state any longer?
PS: I have checked the source, not the unit tests tough (checking it in a little bit) -
5. Re: Wait state how to?
viniciuscarvalho Apr 4, 2007 8:25 AM (in response to viniciuscarvalho)"kukeltje" wrote:
look at the testcases in the source... so much info in there
What I've noticed is the use of taskInstance.end() in every test. Looking at websale's test case I think my tests are just wrong :). But on the jbpm-console my process also starts and ends when I just click on the Start process. It does not sits on any wait states as the websale (waiting for a order for instance).