cancel
Showing results for 
Search instead for 
Did you mean: 

Call activiti tenant id

berndstoltefuss
Champ in-the-making
Champ in-the-making
Hi,

i am facing a problem for which i am unsure if it is unsupported or a bug.
I am using a CallActivitiBehaviour to programmatically start a subprocess. The problem i am facing is, that though findDeployedLatestProcessDefinitionByKeyAndTenantId(processDefinitonKey, "someTenantId") is used, the started subprocess has a tenantID null. This may be due to the fact that the main process has a tenantID null.

So the question is: does CallActiviti support calling a subprocess which tenantID differs from the main process.

Thanks,

Bernd
1 REPLY 1

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Bernd,

In fact tenatId is taken from the execution.
does CallActiviti support calling a subprocess which tenantID differs from the main process.
No it is not supported. (You can implement your own version of org.activiti.engine.impl.bpmn.behavior.CallActivityBehavior and you can replace it in the parsing (hook into parsing - user guide))

*Question:*
Can you describe usecase when you need such a functionality?

Regards
Martin