[jboss-user] [jBPM] - How to use rules in JBPM-4.3

Huisheng Xu do-not-reply at jboss.com
Wed Apr 21 01:41:13 EDT 2010

Huisheng Xu [http://community.jboss.org/people/rebody] replied to the discussion

"How to use rules in JBPM-4.3"

To view the discussion, visit: http://community.jboss.org/message/538625#538625

Hi Felix,
  Because of the complexity for implementing sending messages between difference executions, I suggest you using simple fork/join to implement your requirement.

  If you don't want to use fork/join, then you can consider this solution.

  Create a thread and store main process id and its sub process ids, then let the thread checks when sub process ends. Once the thread finds a sub processed had ended, it could send a message to main process.  The problem is you must control thread's lifecycle all be yourself, and have to prepare to handle the exception occured on process executing.  It is mostly like a real time monitor management system.  If you really want to do this, please make a good plan first.


Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100421/b0aa05db/attachment.html 

More information about the jboss-user mailing list