Process application-continuous listener

i need to design a workflow such that my process always listens to some message event… and whenever a message is consumed it should go with further flow, how can i get back the control to listen to message once control is moved from there

for example : receive task-> service task-> decision->manual task
when the process which is waiting at receive task receives message control goes to manual task, in between if there is one more message again all the steps to be followed.

how can i achieve this.

Hi @gowtham_m,

perhaps with this process: https://cawemo.com/share/05255e72-34ea-46c5-ad43-a06aaa4070a6.

It’s not fully BPMN compliant as message throw and catch in the same process is not supported by the standard, but it works on the Camunda Engine.

Hope this helps, Ingo

Thanks, but once subprocess completes, main process will get end.

  1. is there a option not to end main process and keep listening for message and invoke subworkflow.
  2. based on some condition i like to end main process