cancel
Showing results for 
Search instead for 
Did you mean: 

List of latest process definitions with tenantId

saburofukudome
Champ in-the-making
Champ in-the-making
Hello,

When I call the REST API, GET repository/process-definitions, with latest=true, I could get the response which is grouped by tenantId:
- key: "ProcessA", "version":2,"tenantId":"", …
- key: "ProcessA", "version":2,"tenantId":"tenant1", …

But once I re-deployed the process for tenant1, I can't get the process for non-tenantId with latest=true:
- key: "ProcessA", "version":3,"tenantId":"tenant1", …

Is this a bug or a feature?
I hope I can always get the response grouped by tenantId.

Thank you in advance.

3 REPLIES 3

jbarrez
Star Contributor
Star Contributor
That is not as it's supposed to be. Did you try it with the Java API? Is the same thing happening there?

saburofukudome
Champ in-the-making
Champ in-the-making
Thank you for your reply. I didn't try it with Java API.
And I'm sorry for my poor comprehension, does "That is not as it's supposed to be" mean that doesn't happen in your environment?

trademak
Star Contributor
Star Contributor
It would be good if you can create a unit test with the Java API to show that this is failing. That makes it lot easier for us to reproduce the issue.

Best regards,