Skip to Content
0
Former Member
May 11, 2016 at 11:39 AM

Find Base-Processes using BPM APIs ProcessInstanceFilterCriteria

57 Views

Hi,

using the BPM API I search all Processes with a user-defined Status and this works well.

But in this results, there are all processes (no matter base or sub process) on the samel level.

Is there a SAP-Solution to search ONLY Base Processes?😕

Currently, I iterate over all processes. Then I delete every process with "parentProcessId = null"

Now, in ProcessInstanceFilterCriteria is the Parent_Process_Instance_ID, but there you can only search for a specific ID. I set it to null or set it to blank, an exception ist thrown, the queryCriteria could not be interpreted..

Thanks in advance for your answers. 😀

Attachments

01_sap.png (56.6 kB)
02_sap.png (56.7 kB)
03_sap.png (59.9 kB)