[jboss-user] [jBPM] - How to Launching Workflows from (jms) events

Brian Wallis do-not-reply at jboss.com
Thu Jan 20 23:26:46 EST 2011


Brian Wallis [http://community.jboss.org/people/bwallis42] created the discussion

"How to Launching Workflows from (jms) events"

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

--------------------------------------------------------------
One integration point for our system is that we have an event bus from which state change and other interesting events about system activities can be received. One of these events is called a "Discharge" and contains some info about a person and an event that happened at a point it time.

We need to launch a workflow instance on reception of this event. In the future we may need to launch two or more different workflows from this same event or other events available in the system.

So when I introduce a new workflow (via guvnor I suppose) the workflow needs to register itself somehow so that new instances are created when events matching specified criteria are received. 
* Is there a mechanism for doing something like this or is it up to me to implement it. 
* Where would this "workflow launch" metadata live, it should be packaged with the workflow.
* Can I query guvnor for which workflows are available and get metadata from them so i can setup the JMS filter
ok, I'm out of my depth now. Not sure of the correct approach.
--------------------------------------------------------------

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

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/20110120/361cb579/attachment.html 


More information about the jboss-user mailing list