[JBoss jBPM] - Re: serialization or parallel in a tasknode
by kukeltje
anonymous wrote : but what they do are almost same. so i want to do it in one task-node, as co-signing does. If difficult to implement, i will change it to one person one task-node. Is it the correct way?
Again... you say you *want* it, but what is the process requirement...AND you say *almost* the same... then it is definitely not the the same task.
What you could try (but then you hide the sequence/parallel) stuff in code (which I do strongly advise against, since you could as well create all task individually via the api from plain javacode) is to not create all tasks at the same moment. but if one task finishes, on the task-end event create another task for someone new.... Again this is really dirty and I would not use a processdefinition for this but the api on a low level
anonymous wrote : I read JBPM doc, but i cant get any useful stuff in such situation.
| Could you tell me more?
Because what you want to do is dirty, uncommon, error-prone, hides 'flow' in javacode etc.... But I was not talking about this specific co-signing thing, I was talking about the fact that you could not see you could place a subprocess or something else in the foreachforkhandler....
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4197413#4197413
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4197413
17 years, 6 months
[JBoss jBPM] - Two Ears, JBPM Enerprise Question
by bradsdavis
I have two ears, and several clusters at my environment.
We have the following scenario:
JBPM is used in two EARs, and we are upgrading from 3.1 to 3.2.3.
The EARs can be deployed on the same cluster, the same node of a given cluster, or in two separate clusters.
We would like to take advantage of the new timer and asynchronous continuation services in JBPM.
Questions:
To take advantage of the Enterprise features in JBPM 3.2+, should I install the jbpm-enterprise-bundle.ear, or should I incorporate the pieces into my existing EARs?
The problems I see with incorporating the services into my EARs is that I would have several services running, and I may need to rename the services to allow the EAR deployments in the same server node.
The problem I see with breaking out my workflows and action handlers into Process Archives is that the Process Archive, to my understanding, can not include libraries. Therefore, there is no way to make reference to the local/remote interfaces in my action handlers.
Also, I am wondering if I use the out of the box jbpm-enterprise-bundle.ear, it will pick up jobs from the database for the EARs, whether they are deployed to a given node or not.
If I decide to move the timer and asynchronous services into my EARs, will they need to be separate into separate data sources, or does JBPM include the service name and filter on the service name internally?
Thanks for the insight.
Brad
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4197410#4197410
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4197410
17 years, 6 months