Hello everyone;
I would like to know if is that possible to make a message activity connected to a start event in an other lane; the thing is, this message activity is inside of a subprocess.
Can anyone show an example of how it would work? if what i asked is not possible, how can i manage to obtain this result? its like, something in ths subprocess mitght be informed to other lane, and this inform will start a process there.
Thankyou;
Hi, and welcome to the forums!
In BPMN (not a Camunda constraint, but a constraint of the language), a message is required to cross the process boundary – as such, no it’s not possible to have a message go from a subprocess to a start in another lane.
HOWEVER, you can put two processes in the same diagram (for modeling purposes - it’s better if you put each process in its own diagram for deployment). If you do this, then you can connect the Send in the subprocess to the Message Start event in the other process.
1 Like
Allright, i see that, thakyou for the answer;
i understand that its not possible doing what i want but, in this case, how would it be like to connect this process 2 to any othe lane? i want kinda make visible that this process 2 has a connection to the other lane process, i mean, imagine that this process 2 is done by an assistant that returns a resolution to this message, and depending on the resolution or not of it, the process 1 will have a different action and end… does that make sense?
thankyou a lot for the time.
You can put a “Send message” step after “Do Something else” in Process 2, and a “Receive message” after “Do the thing” in Process 1. Those can be connected.
After the “Receive message”, you can have an “Evaluate response” and then an exclusive gateway to direct the flow (gateways don’t make decisions, they just evaluate) to the appropriate next step.
Wonderful!
Could you map this? like in the back answer?
Again, thakyou a lot.