[jboss-user] [jBPM] - Re: Calling two different work item handler from different nodes

Maciej Swiderski do-not-reply at jboss.com
Thu Oct 6 13:42:25 EDT 2011


Maciej Swiderski [http://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: Calling two different work item handler from different nodes"

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

--------------------------------------------------------------
Another approach could be that (of course depending on your process) you create a session and register notification handler A then start the process that executes the notification node then goes to a wait state lets say receive task, so you could dispose the session.
After a while you load the session and register the second (B) notification handler and signal the process to continue its operation.

That should work since you register the work item handlers on the session upon its creation (either a new one or after loading it from data store).

This is the flexibility that jBPM/Drools gives you but final solution is up to you. Just my two cents  ;)
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/630425#630425]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

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


More information about the jboss-user mailing list