Files
git.stella-ops.org/docs/workflow/tutorials/05-sub-workflows
master f5b5f24d95 Add StellaOps.Workflow engine: 14 libraries, WebService, 8 test projects
Extract product-agnostic workflow engine from Ablera.Serdica.Workflow into
standalone StellaOps.Workflow.* libraries targeting net10.0.

Libraries (14):
- Contracts, Abstractions (compiler, decompiler, expression runtime)
- Engine (execution, signaling, scheduling, projections, hosted services)
- ElkSharp (generic graph layout algorithm)
- Renderer.ElkSharp, Renderer.ElkJs, Renderer.Msagl, Renderer.Svg
- Signaling.Redis, Signaling.OracleAq
- DataStore.MongoDB, DataStore.PostgreSQL, DataStore.Oracle

WebService: ASP.NET Core Minimal API with 22 endpoints

Tests (8 projects, 109 tests pass):
- Engine.Tests (105 pass), WebService.Tests (4 E2E pass)
- Renderer.Tests, DataStore.MongoDB/Oracle/PostgreSQL.Tests
- Signaling.Redis.Tests, IntegrationTests.Shared

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 19:14:44 +02:00
..

Tutorial 5: Sub-Workflows & Continuations

Compose workflows by invoking child workflows — either inline (SubWorkflow) or fire-and-forget (ContinueWith).

SubWorkflow vs ContinueWith

Feature .SubWorkflow() .ContinueWith()
Parent waits Yes — resumes after child completes No — parent completes immediately
State flows back Yes — child state merges into parent No — child is independent
Same instance Yes — tasks appear under parent instance No — new workflow instance
Use when Steps must complete before parent continues Fire-and-forget, scheduled work

Variants

Next

Tutorial 6: Advanced Patterns — Fork, Repeat, Timer, External Signal.