I Want to create a Notification Process and this process we can call it from any other process, I have Sending_Process_A that has a MESSAGE INTERMEDIANT THROW EVENT, and a process Notification_Process_B has a MESSAGE START EVENT
Why process Notification_Process_B does not start when start a process of Sending_Process_A and then completing the task?
You can set variables and supply a business key value when doing correlation #{execution.getProcessEngineServices().getRuntimeService().createMessageCorrelation('SendNotification').setVariable("<VAR_NAME>", <VALUE>).processInstanceBusinessKey("<BUSNIESS_KEY>").correlate()}