Is it possible to start a process using the Java API via a message event but for a specific tenant only?
I’m currently calling this in a non-tenanted environment:
ProcessInstance processInstance = processEngine.getRuntimeService()
.startProcessInstanceByMessage(message, businessKey, processVariables);
I can’t see any overloaded methods that allow me to pass a tenantId in though…
The only way I can see to do it is to ensure that the message name is unique across tenants, or it is manually name-spaced somehow (postfixed with tenant name, for example).
Or am I missing something?
Thanks Steve