Distinguish Process from Called Activity Process

Hello!

New to Camunda with a fairly simple question. I would like to get a list of processes to start by a user, but exclude the sub-processes we call within the parent. Is there some native way to mark those called activities as such so we can filter them out when getting a list of available processes?

I’ve searched here and found a solution that involves authorization, which would be fine if we had our users stored in Camunda. We get our user list from an external source, and all sub-processes need to be filtered out anyway, so it would be a global setting, not something role-specific.

Thanks in advance

Hi,

One option is the new isStartableInTasklist attribute.
By using it you can mark which processes are children.
https://blog.camunda.com/post/2018/06/camunda-bpm-7100-alpha1-released/

Another option is to query for process instances with superProcessInstance=null or something similar.https://docs.camunda.org/manual/latest/reference/rest/process-instance/get-query/

Best regards,
Yana

1 Like