New method to get IDs of sub-process instances for process instance and by process definition name