From 5c9f51dd8f42aece8b6344e11641ba488a6f8223 Mon Sep 17 00:00:00 2001 From: Alberto Fanjul Date: Tue, 19 Mar 2024 13:01:16 +0100 Subject: [PATCH] Allow to configure default abort parent behaviour --- .../main/java/org/jbpm/workflow/core/node/SubProcessNode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jbpm-flow/src/main/java/org/jbpm/workflow/core/node/SubProcessNode.java b/jbpm-flow/src/main/java/org/jbpm/workflow/core/node/SubProcessNode.java index b9df7f544a..33f9704441 100644 --- a/jbpm-flow/src/main/java/org/jbpm/workflow/core/node/SubProcessNode.java +++ b/jbpm-flow/src/main/java/org/jbpm/workflow/core/node/SubProcessNode.java @@ -238,7 +238,7 @@ public boolean isAbortParent() { String abortParent = (String) getMetaData("customAbortParent"); if (abortParent == null) { - return true; + return !Boolean.getBoolean("org.kie.jbpm.doNotAbortParentByDefault"); } return Boolean.parseBoolean(abortParent); }