What i’m trying to do :
Instanciate a caseDefinition that already has a tenantId, and an automatic started task.
using : processEngine.getCaseService().createCaseInstanceById(caseDefinitionId, businessKey, variables)
When i’m looking for tasks with this caseInstanceId, there is not tenantId.
I looked into your problem and it seems like this is not expected behavior.
The tenant id is not propagated to the Task. Therefore I created a Bug Report.