Camunda 7, Process Definitions that are public (no startableCandidateUser) including the ones with startableCandidateUser of the logged in user

For some process definitions I do not set any startableCandidateUser because I want to make it public and everybody can access it. But, there are some process definitions that I want specific user accessibility. so I set the startableCandidateUser.
Now, I want to list all processes that are public in addition to the ones that are specific to the user.

How can I do this?

1 Like

Since there’s no direct API endpoint to fetch both public and specific-user processes in a single call, you’ll need to merge the results from these two calls programmatically. Here’s how:

  • Call the endpoint for public processes (without specific startableCandidateUser).
  • Call the endpoint for processes accessible to the specified user.
  • Combine both sets of results in your code or application.

and i think this link below can help you :
process-definition-rest-api