cancel
Showing results for 
Search instead for 
Did you mean: 

How to wait to receive data externally?

andreasa
Champ in-the-making
Champ in-the-making
Hi

I'm new with Activiti and BPM-tools.

I have a process that sends out a call to a WS at an external partner. This is sent async to them. At some point they will return with an answer to that call, by calling a WS with us. In the meantime I want the ReceiveTask to wait for the response from the external partner. How do you go about setting this up? I can't figure out how much of this is supported in BPMN 2.0, and Activiti. Also I can't figure out how much of this should be implemented in Activiti and how much should be on the side. Do I need some kind of correlation key, do I need eventlisteners etc.?

Any pointers would be appreciated!

Thanks.
1 REPLY 1

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
- use a receive task
- implement a webservice or use something like mule or camel that 'signals' the receive task
- yes you need a correlation key ( and/or use something like caminda fox… It's cool)