diff --git a/core/src/main/java/io/kestra/core/models/flows/Flow.java b/core/src/main/java/io/kestra/core/models/flows/Flow.java index 7f60b48522..fbf102e4ec 100644 --- a/core/src/main/java/io/kestra/core/models/flows/Flow.java +++ b/core/src/main/java/io/kestra/core/models/flows/Flow.java @@ -141,7 +141,7 @@ public Stream allTasks() { .flatMap(Collection::stream); } - private List allTasksWithChilds() { + public List allTasksWithChilds() { return allTasks() .flatMap(this::allTasksWithChilds) .collect(Collectors.toList());