cancel
Showing results for 
Search instead for 
Did you mean: 

Multitenancy - unable to utilize feature for process definitions

himani
Champ in-the-making
Champ in-the-making
We had been using the REST call repository/process-definitions?suspended=false to get the list of process-definitions.
For most of the GET requests activiti has provided the tenant-Id filter, however for process definitions there is no such filter.

We want the user to be able to see and launch only tenant specific templates.

The ACT_RE_PROCDEF has a tenant Id column so there could have been a filter for it.

One way could be that we fetch the  tenant specific deployment Id's using REST Call repository/deployments?tenantId=tenantid
and write business logic to fetch process-definitions based on the deployment Id's fetch in above step.

But this is too much logic and 2 REST calls.

I think i am missing something, is there an easier way that i haven't thought of??



2 REPLIES 2

trademak
Star Contributor
Star Contributor
You are right. I've just added the tenantId and tenantIdLike request parameters to the service as well. It will be available on master soon.

Best regards,

himani
Champ in-the-making
Champ in-the-making
Thanks for the quick response. It works now