Files
git.stella-ops.org/docs/workflow/tutorials/README.md
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

2.2 KiB

Workflow Declaration Tutorials

Step-by-step tutorials for building workflows with the Serdica Workflow Engine. Each tutorial is available in both C# fluent DSL and canonical JSON variants.

Reference Documentation

Tutorials

# Tutorial C# JSON Topics
01 Hello World C# JSON Minimal workflow, single task, state init
02 Service Tasks C# JSON Transport calls, addresses, failure/timeout handling
03 Decisions C# JSON WhenExpression, WhenStateFlag, nested branching
04 Human Tasks C# JSON Approve/reject, OnComplete, re-activation, deadlines
05 Sub-Workflows C# JSON SubWorkflow vs ContinueWith, state flow
06 Advanced Patterns C# JSON Fork, Repeat, Timer, External Signal
07 Shared Helpers C# - Address registries, payload builders, extensions
08 Expressions C# JSON Path navigation, functions, operators
09 Testing C# - Recording transports, task completion, assertions

How to Read

Each tutorial folder contains:

  • README.md - Explanation, concepts, and what to expect
  • csharp/ - C# fluent DSL examples
  • json/ - Equivalent canonical JSON definitions (where applicable)

Start with Tutorial 01 and progress sequentially. Tutorials 07 (Shared Helpers) and 09 (Testing) are C#-only since they cover code organization and test infrastructure.