[JBoss jBPM] - Re: process resume
by 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.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4212468#4212468
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4212468
15 years, 9 months
[JBoss jBPM] - Custom Context Definition
by mpardo
Issue #1
We would need to add some information to the jbpm s <process definition> (at definition moment).
More specifically, we need to specify feasible reasons for each transition from a task node (for example, in a transition called , we would need to indicate the feasible reasons for that cancellation: <incorrect customer>, <incorrect order number>, etc.). All the above at definition moment.
One possible solution might be creating a (which inherits from ContextDefinition) that creates a context instance with a set of variables given by the custom context definition.
In order to make the context definition configurable, we would use an xml file.
Do you think that this solution is adequate or there is a built-in mechanism offered by jbpm to the same thing in a cleaner way?
Issue #2
Does jbpm log each update to a variable of the context instance? How or where it does that?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4212376#4212376
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4212376
15 years, 9 months