Finding a list of active process instance which dont have a super process

Hello ,

I am planning to create an alerting mechanism for all the active process

with the help of below 2 API i am able to get all the list of active process instance

https://localhost/flowable-rest/service/history/historic-process-instances?finished=false
https://localhost/flowable-rest/service/runtime/process-instances

but one process can call multiple other child process but I don’t want to send alert for all the child process.

so i am looking for process which don’t have any superprocessinstance .

i tried to filter it with the argument superProcessInstanceId in the API call but didn’t help.
can someone help me in this

thanks in advance
Roy

Use the “excludeSubprocesses” parameter, not sure if it works on the GET, but it works on the Query (POST)

1 Like

thank you. That helped

i am also looking for an last updated time of an active process
is there any API based approach for this