[JBoss jBPM] - Strategies on concurrent execution of FORK-JOIN execution pa
by ckadam
Hi All,
I am using jbpm version 3.2.6.sp1. (recently upgraded from 3.1.4). One of the business scenarios I am trying to support is, to be able to run multiple branches in FORK-JOIN execution paths concurrently. I have searched this user forum as well as wiki for possible ways of implementing this scenario.
Here is my understanding, and I was hoping to validate it from some of you, who may have implemented something similar:
1. Use of ASYNC=true on node, which will queue execution of Node-Actions using JMS. Default fork handler will create child tokens for each possible transition in the fork definition and will be able to signal them right away (since each child token signal call would return right away after queuing the action).
2. I could write custom fork handler Or some client process executor, which creates child token for each transition and submits token.signal() calls in separate threads. (i.e. client would manage the threads for each execution paths). However, I am afraid, I might run into some hibernate concurrency issues (when updating process instance).
Does anyone have better suggestions ? or experience with such implementations. Any pointers / suggestions are very much appreciated.
Thanks !
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227045#4227045
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227045
16 years, 11 months
[JBoss jBPM] - Drools-fusion: Choice in Application?
by cyphr
Wondering if Drools (or Drools-fusion specifically) would be the right choice for my application:
I need to analyze certain "facts" ( events coming from a log - with a fixed TimeStamp and other values) against a bunch of rules to detect or derive another complex event or an anomality.
it could be something as simple os counting the frequency of an event over a given time frame( measured by the TimeStamp in the logs).
Or it could be something more complex as stating that if a particular pattern of events are occuring, then xyz has to be derived from the basic events etc...
can i achieve this using drools-fusion? Is there anyplace i can get some documentation and examples on getting it running? a getting started guide sorta thing?
Thanks!
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226934#4226934
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4226934
16 years, 11 months
[JBoss jBPM] - Re: 4 Eye Principal - Implementation
by bestage
I had a similar goal to achieve.
Example: a simple workflow like this
user A user A User B System
edit record => finalize => verify => set record active
After User A finalizes the record for verification it gets the appropriate status which I set in the ActionHandler. Now when the user B is searching records for verification he gets only those in the FINALIZED status. Now in the "verify" Action Handler you can compare the user. If user A himself is trying to verify his own record, show error message. Otherwise set the status to VERIFIFED. The next workflow stop in my case Ãs a normal Node which sets the record automatically active since it has been successfully verified.
This is just an example.
You are right, you cannot work the normal use case, where the user ID of the first user is automatically assigned to all the other tasks.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226926#4226926
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4226926
16 years, 11 months