cancel
Showing results for 
Search instead for 
Did you mean: 

How to pause a process until an event comes in

etienne
Champ in-the-making
Champ in-the-making
Hello

How can I model a process such that when I run it in Activiti, the process 'pauses' at a given activity (interrupting event?) until it receives a signal and then continues the process? I would like to send that signal programmatically.

Does Activiti even support such a scenario?

Any help would be greatly appreciated. Thanks in advance.

Regards, Etienne
4 REPLIES 4

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
What about using a 'receive' task? And the docs mention that only a java receive task is supported, so doing it programatically should be no problem at all

etienne
Champ in-the-making
Champ in-the-making
Hi Ronald

Great. That is exactly what I've been looking for.

Thanks and regards, Etienne

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
Sometimes things are sooooo easy if you read the docs 🙂

etienne
Champ in-the-making
Champ in-the-making
Yes, you are right. I overlooked the receive task, probably because I did not anticpate such a simple solution. My bad.