diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/groups/StandardProcessGroup.java b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/groups/StandardProcessGroup.java index 93acfa4037..88fa43fd00 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/groups/StandardProcessGroup.java +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/groups/StandardProcessGroup.java @@ -1902,7 +1902,9 @@ public final class StandardProcessGroup implements ProcessGroup { } for (final ProcessGroup childGroup : processGroups.values()) { - childGroup.verifyCanDelete(); + // For nested child groups we can ignore the input/output port + // connections as they will be being deleted anyway. + childGroup.verifyCanDelete(true); } if (!ignoreConnections) {