Skip to main content
Cloacina Documentation
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Tutorials

Workflow Tutorials

Learn Cloacina’s workflow orchestration system through progressive, hands-on tutorials.

Library (Embedded)

Start here. These tutorials teach you to define and run workflows directly in your Rust application.

  1. Your First Workflow — Define a task, build a workflow, execute it
  2. Context Handling — Pass data between tasks using Context
  3. Complex Workflows — Parallel tasks, fan-out/fan-in, dependencies
  4. Error Handling — Retries, fallbacks, callbacks, and conditional execution

Service (Server Mode)

Once comfortable with the library, move to service mode for production features.

  1. Cron Scheduling — Time-based workflow execution
  2. Multi-tenancy — Isolated tenant environments
  3. Packaged Workflows — Build and distribute .cloacina packages
  4. Workflow Registry — Register and manage packages
  5. Event Triggers — Condition-based workflow firing
  6. Task Deferral — Release concurrency slots while waiting