Thanks Kris. After reading the documentation I had been expecting and hoping for threading in parallel branches. I gather that asynchronous work items are a new feature in version 5. They look like they will provide what we are looking for.
/Steven -----Original Message----- From: [EMAIL PROTECTED] on behalf of Kris Verlaenen Sent: Thu 13/11/2008 16:45 It depends on what kind of activities you are trying to execute in each of your branches. The AND-split will not assign different threads to each of the branches, but trigger the outgoing branches one after the other. However, this results in parallelism when one of the branches contains wait states. For example, if I add two parallel human tasks in my flow, the and split will first create the first task and not wait for its completion but also trigger the creation of the second task. At that point, both tasks are executing in parallel. So parallel execution will occur if you execute your work asynchronously (using work items) or have wait states (like an event wait or timer node). And we recommend users to use asynchronous work items to execute actions that are not instantaneous but might take some time to process. Kris ----- Original Message ----- From: Steven Hale To: [email protected] Sent: Thursday, November 13, 2008 3:38 PM Subject: [rules-users] Parallel rule execution in a RuleFlow I've been experimenting with ruleflows and in particular parallel execution. According to the documentation an AND split "means that the control flow will continue in all outgoing connections simultaneously". I've been unable to demonstrate this. All my rules in one branch always execute before the rules on the other branch (I have an AND join joining these branches again). Is this the expected behaviour or am I doing something wrong? /Steven ------------------------------------------------------------------------------ _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
<<winmail.dat>>
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
