REST Api /history/process-instance get only root instances


I like to get only the root process instances from history via REST API.

A POST on /history/process-instance with the following body does not work:
“superProcessInstanceId”: null

All instances are returned.

Any ideas?

Best Regards,

Hi Stefan,

The current implementation won’t work for null value.
If you’re interested in runtime, you can try rootProcessInstances param:

Best regards,