<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/child-workflows-and-continue-as-new-managing-long-running-and-complex-flows-7fymfgddj" -->

---
title: Child Workflows and Continue-As-New: Managing...
description: Deep dive into two advanced Temporal workflow patterns: child workflows and continue-as-new. Child workflows enable fan-out parallelism, logical decomposition,...
canonical: https://daily.dev/posts/child-workflows-and-continue-as-new-managing-long-running-and-complex-flows-7fymfgddj
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Child Workflows and Continue-As-New: Managing Long-Running and Complex Flows | daily.dev
og:description: Deep dive into two advanced Temporal workflow patterns: child workflows and continue-as-new. Child workflows enable fan-out parallelism, logical decomposition,...
og:url: https://daily.dev/posts/child-workflows-and-continue-as-new-managing-long-running-and-complex-flows-7fymfgddj
og:image: https://api.daily.dev/og/posts/7fymfGDdJ.png
og:image:alt: Child Workflows and Continue-As-New: Managing Long-Running and Complex Flows
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Child Workflows and Continue-As-New: Managing Long-Running and Complex Flows

**[Medium](https://daily.dev/sources/medium_js)** · 7 min read · 0 upvotes · 0 comments

## Summary

Deep dive into two advanced Temporal workflow patterns: child workflows and continue-as-new. Child workflows enable fan-out parallelism, logical decomposition, and independent lifecycle management via parent_close_policy (TERMINATE, ABANDON, REQUEST_CANCEL). Continue-as-new solves the 50,000-event history limit for indefinitely-running workflows by starting a fresh execution with the same workflow ID and passing carry-over state as arguments. Practical Python code examples cover batch fan-out, fire-and-forget notification coordinators, subscription monitoring loops, signal-accumulating batch collectors, and large-scale chunked fan-out (10,000+ items). Also compares child workflows vs. signal-based sibling coordination for different use cases.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://hosseinnejati.medium.com/child-workflows-and-continue-as-new-managing-long-running-and-complex-flows-911c02d14c3b>

## Similar posts on daily.dev

- [All your workflows are about to be long running. Build for it.](https://daily.dev/posts/all-your-workflows-are-about-to-be-long-running-build-for-it--ff8epi154) · Inngest Blog · 0 upvotes · 0 comments
- [How to build a resilient platform control plane with Temporal](https://daily.dev/posts/how-to-build-a-resilient-platform-control-plane-with-temporal-53kq5jtl5) · Temporal · 1 upvotes · 0 comments
- [A new programming model for durable execution](https://daily.dev/posts/a-new-programming-model-for-durable-execution-8hk6zrkca) · Vercel · 0 upvotes · 0 comments
- [How groundcover built a durable alert dispatch system with Temporal](https://daily.dev/posts/how-groundcover-built-a-durable-alert-dispatch-system-with-temporal-zvubrbe5g) · Temporal · 4 upvotes · 1 comments

---

Tags: [#python](https://daily.dev/tags/python), [#architecture](https://daily.dev/tags/architecture), [#distributed-systems](https://daily.dev/tags/distributed-systems), [#workflow-orchestration](https://daily.dev/tags/workflow-orchestration)

[View this post on daily.dev](https://daily.dev/posts/child-workflows-and-continue-as-new-managing-long-running-and-complex-flows-7fymfgddj)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Child Workflows and Continue-As-New: Managing Long-Running and Complex Flows","url":"https://daily.dev/posts/child-workflows-and-continue-as-new-managing-long-running-and-complex-flows-7fymfgddj","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/child-workflows-and-continue-as-new-managing-long-running-and-complex-flows-7fymfgddj"},"datePublished":"2026-07-18T03:17:36.010Z","dateModified":"2026-07-18T03:19:22.002Z","description":"Deep dive into two advanced Temporal workflow patterns: child workflows and continue-as-new. Child workflows enable fan-out parallelism, logical decomposition,...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/d6ab0a9a223ee01bc82d647f54feb2d2?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/d6ab0a9a223ee01bc82d647f54feb2d2?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Medium","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Medium","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/medium","url":"https://daily.dev/sources/medium_js"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/child-workflows-and-continue-as-new-managing-long-running-and-complex-flows-7fymfgddj","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"python,architecture,distributed-systems,workflow-orchestration","timeRequired":"PT7M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Medium","item":"https://daily.dev/sources/medium_js"},{"@type":"ListItem","position":3,"name":"Child Workflows and Continue-As-New: Managing Long-Running and Complex Flows"}]}
```

