Hi all,I needed to wrap my whole process instance inside a new subprocess to be able to reinitialize the request at any time by using a boundary signal event thrown programatically.Then I migrated my process instances with this code :
processEngineConfiguration.getCommandExecutor().execute(new SetProcessDefinitionVersionCmd(processInstanceId, processDefinitionVersion));
The problem is that the signal event is not catched by the migrated processes because this query returns nothing, no execution has subscribed to the new event :
runtimeService.createExecutionQuery()
.processInstanceId(processInstanceId)
.signalEventSubscriptionName(signalName)
.list();
If I start new process instances directly upon the new process definition (no migration) the signalEventSubscriptionName method is working.Could you help please?Thanks.