AnsweredAssumed Answered

CallActivityBehavior can not found process with NO_TENANT_ID

Question asked by sunshare on Mar 4, 2016
Latest reply on Mar 14, 2016 by sunshare
Hey,

I have a question about line 69 on CallActivityBehavior.java.


       processDefinition = Context
             .getProcessEngineConfiguration()
             .getDeploymentManager()
             .findDeployedLatestProcessDefinitionByKey(processDefinitonKey);


The above code seems that can only find the process define in NO_TENANT_ID which is "", but not search for any tenant. Is this a bug or just designed like this?

For example, I have a process called "key1" defined in "google.com" tenant. The code will not find my process. But if the process is define in "" tenant. It will find it.

Thank you,
Lesong

Outcomes