Set up tenant id for a process definition in Spring Boot


We can pass a tenant id when deploying a process definition:


Using Spring Boot, process definitions are automatically deployed (from process folder in resources).

How can I set up the tenant Id in such a case?


Any ideas on how to set the tenantId in this case?

Same problem if I deploy from the UI (http://localhost:8282/flowable-ui/admin/#/deployments), button “Upload process or package”, how can I specify the tenantId?

Thanks in advance.