How to fetch "tenant id " from process application(processes.xml) through java class.
Thanks.
Regards,
Vinu S
How to fetch "tenant id " from process application(processes.xml) through java class.
Thanks.
Regards,
Vinu S
Hi @vinu_s,
Your question is a little to clear to me, could you please rephrase it.
What do you want to achieve?
Best regards,
Yana
Hi @yana.vasileva,
Is there any way to fetch “tenant Id” of a process before starting a process other than using GET /deployment method.
Regards,
Vinu S
Hi Vinu S,
You can retrieve the tenant id also with GET /process-definition if you know the specific process definition id.[1] Or through the Java API if you want.
Another option is to retrieve the tenant id for specific user if this is the case. [2]
Further reading regarding multi tenancy. [3]
Why do you need it, if you give us more details for your scenario, we will be able to give you better advise.
[1] https://docs.camunda.org/manual/latest/reference/rest/process-definition/get/
[2] https://docs.camunda.org/manual/latest/user-guide/process-engine/multi-tenancy/#getting-a-user-s-tenant-ids-from-the-identity-service
[3] https://docs.camunda.org/manual/latest/user-guide/process-engine/multi-tenancy
Best regards,
Yana