This content has been marked as final.
Show 6 replies
-
1. Re: process resume
kukeltje Feb 20, 2009 8:48 AM (in response to galanfish)To me this should be something modeled in. So create a 'error' state on which you e.g. set the name of the node the process was when the error occured. When an error occurs, explicitly move this token to this error state. When this error state is acted on, while leaving this node, set the token to the node you stored.
-
2. Re: process resume
galanfish Feb 22, 2009 10:42 PM (in response to galanfish)stupid question:
need i add every activity(maybe exception comes out) with at least two transitions? one for the normal destination, and one for the error state or?
thx -
3. Re: process resume
galanfish Feb 23, 2009 12:30 AM (in response to galanfish)BTW, what's the motivation for the constants STATE_SUSPEND, i mean, usually, what can i use it for?
-
4. Re: process resume
galanfish Feb 23, 2009 12:46 AM (in response to galanfish)and why i can not find any reference that the method ClientExecution#suspend called, what does this method used for
-
5. Re: process resume
kukeltje Feb 23, 2009 9:11 AM (in response to galanfish)"galanfish" wrote:
stupid question:
need i add every activity(maybe exception comes out) with at least two transitions? one for the normal destination, and one for the error state or?
thx
Depends.... do you want it visible or not? You can move the token anywhere without having any transitions.... just put it in a state (see the api) -
6. Re: process resume
galanfish Feb 23, 2009 8:00 PM (in response to galanfish)"kukeltje" wrote:
"galanfish" wrote:
stupid question:
need i add every activity(maybe exception comes out) with at least two transitions? one for the normal destination, and one for the error state or?
thx
Depends.... do you want it visible or not? You can move the token anywhere without having any transitions.... just put it in a state (see the api)
thx, kukeltje, i've read the devguide of jbpm4 alpha1, and i still can't find any information about 'token'. i know that there is a 'token' in jbpm3, but i have never learn about jbpm3. could you tell me what's the concept of 'token' in the process virtual machine of jbpm4...
appreciate.