Using the Saga Screen
At a glance
Left panel: list of sagas, grouped by domain and path.
Center canvas: drag-and-drop step graph.
Top bar: edit saga details, add steps, and tidy layout.
Save is “live”: changes propagate to runners in real time.
Open the Saga screen
Open Devops → Saga. You’ll land on a visual graph editor for building flows step by step.
The screen behaves like other Rierino screens. You get save, delete, duplicate, and import/export menus.
Pick the right saga (domain/path/stream)
Sagas are listed on the left, grouped by domain and path. The system can store multiple saga records for the same URL path.
How multiple sagas on the same path are selected
If only one saga is active, it is used.
If more than one saga is active, but each is allowed on different streams, the runner picks the one matching the incoming stream.
If more than one saga is active on the same stream, only the first record is used.
Use a meaningful saga ID
The saga ID field is editable. Use a meaningful unique ID for easier log searches.

Icon bar: edit, build, layout
Build a flow (recommended shape)
Each saga needs at least one Start step. Use Success and Fail steps as exit points. Add Event / Transform / Condition steps in between.
Parallel starts (multiple Start steps)
If a saga has more than one Start step, they run in parallel threads. This is available starting from version 1.8.0.
Parallel branches do not auto-merge payloads. Use the Merge event handler if you need a combined payload.
Keep parallel branches in the same runner when possible. Prefer synchronous links if distributing across runners.
Save & deploy behavior (real-time)
Creating or updating a saga updates the runtime in real time. This depends on change data capture not being disabled.
How saves affect in-flight requests
Requests already running on a different saga record (different ID) continue on the old flow. This is true even if you mark that other saga inactive.
Requests running on the currently active saga may pick up your new graph mid-flight. Big changes (like removing steps) can break these requests.
If you need zero disruption, use a versioned or backup saga briefly. Switch traffic once you’re confident no requests are in-flight.
To copy multiple steps at once, keep pressing Ctrl while clicking Copy on a selected step. This builds a multi-step clipboard and works across sagas.
Saga Data Schema (reference)
Last updated
