Retrieves a list of BPD instances and the number of BPD instance entities that they contain per status code.
For users to be able to view process instances, make sure they meet one of these criteria:
-Members of a group that is specified by the bpmAdminGroup setting, which is tw_admins by default. These administrators can see all instances.
-Members of a team that is specified by the Process Application Administrators setting in Process Designer. These users can see instances related to that process application.