JBoss Community

Start a second process (Fire and forget)..

created by Gary Pinkham in jBPM - View the full discussion

Maybe I'm thinking of this the wrong way.. But I have the following requirement..   trigger a business process via web service..  handle a few steps then fire a second process and return immediately...  IE: I don't want the client of the first process to wait for the second process to finish..   To accomplish this I had first created a custom action to send a JMS message to trigger the second process instance..   But since there was a sub process task in the jBPM I figured I'd use that instead..  save me the hassle of creating an esb entry to front the second process in the ESB..   But this doesn't seem to do a fire and forget (I had thought sync="true" would do this but the process still waits.)

 

So do you think I should use a JMS message or is there a way to accomplish with built in jBPM actions? 

 

thanks!

Gary

..  

Reply to this message by going to Community

Start a new discussion in jBPM at Community