Many thanks for your simple example. With you help I was able to init a process using the method "startProcessInstanceByMessage". I was not able to use the BpmPlatforme class as it return null so I use the execution variable. My second process starts as expected and go one without any Issue. But then when I want to informe my master process he dont receive the message and don't continue. I use the methode "createStandaloneInMemProcessEngineConfiguration" to configure my process engine. Could this be the issue that it is not possible to send a message to an StandAlone process. I'm not very familar with a BPMN engine so maybe it is a silly question. But I'm going crazy I have test several methode but not one relaunch the master process.
Below the sniped of my code to start the process.
import org.camunda.bpm.engine.ProcessEngine;
import org.camunda.bpm.engine.RuntimeService;
//get the processEngine of the current execution
ProcessEngine processEngine = execution.getProcessEngineServices();
execution.setVariable("callerProcessDefinitionId", execution.getProcessDefinitionId());
//send Process by message passing all arguments
processEngine.getRuntimeService().startProcessInstanceByMessage("checkIsolation",execution.getVariables());