How to implement asynchronous WorkItemHandler in jBPM5 ?
Issue
- How to pause a running jBPM 5 process instance until an external process has completed, then continue the process ?
- To give a background of the above question, jBPM 5 start a
customTask
to invoke an external web service, this runs as asynchronousWorkItem Handler
. The external service will run through data loading process and when it is completed, it will send a JMS message back to the jBPM and jBPM can continue based on response JMS message.
Environment
- Red Hat JBoss BRMS (BRMS)
- 5.3.x
- jBPM
- 5.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.