Set up tenant id for a process definition in Spring Boot

Hi,

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

repositoryService.createDeployment()
            .addClassPathResource(...)
            .tenantId("myTenantId")
            .deploy();

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?

Thanks,

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.