elguardian commented on issue #3286:
URL: 
https://github.com/apache/incubator-kie-kogito-runtimes/issues/3286#issuecomment-2227846575

   @andleosab IMO if you are trying to target a process over its ID you are 
coupling things. You should use common information shared among process 
instance to communicate among them. You can use correlated messages instead of 
process intance id.
   
   For instance you can set a variable in the subprocess called orderId and set 
the variable. 
   You create a correlation key containing the expresion #{order} (taking for 
granted that order is a process variable)
   Now for the message you create a correlation key as well to compute the same 
order.
   
   You don't need anymore the  business key.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to