Files
git.stella-ops.org/docs/workflow/tutorials/07-shared-helpers/README.md
master a6ffb38ecf Update module architecture docs and workflow tutorials
- Module dossiers: attestor, authority, cli, graph, scanner
- Policy assistant parameters guide
- UI v2-rewire navigation rendering policy
- Test suite overview update
- Workflow engine requirements and tutorial series (01-08)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 17:25:37 +03:00

898 B

Tutorial 7: Shared Support Helpers

When building many workflows for the same domain (e.g., 50+ policy change workflows), extract reusable components into a support helper class.

What to Extract

Component Example
Address constants LegacyRabbitAddress, HttpAddress — centralized routing
Workflow references WorkflowReference — for SubWorkflow/ContinueWith targets
Payload builders Static methods returning WorkflowExpressionDefinition
State initializers Base state + override pattern
Flow extensions Extension methods on WorkflowFlowBuilder<T> for common sequences

C#-Only Tutorial

This tutorial has no JSON equivalent — it covers C# code organization patterns.

Next

Tutorial 8: Expressions — path navigation, functions, and operators.