protected void cascadeDeleteProcessInstancesForProcessDefinition ( String processDefinitionId , boolean skipCustomListeners , boolean skipIoMappings ) { getProcessInstanceManager ( ) . deleteProcessInstancesByProcessDefinition ( processDefinitionId , "deleted process definition" , true , skipCustomListeners , skipIoMappings ) ; }
Cascades the deletion of the process definition to the process instances . Skips the custom listeners if the flag was set to true .