Causet Docs
OverviewGetting StartedGuidesPlatformExamplesReferenceConceptsResources
Start quickstart
  • Overview
    • Overview
      • Overview
      • state
      • events
      • actions
      • projections
      • queries
      • relationships
      • listeners
      • sagas
      • resources
      • commit_envelopes
      • Expressions
      • Rule Execution
      • Naming Conventions
      • Pitfalls
    • Overview
      • Overview
      • set
      • add
      • sub
      • unset
      • merge
      • Overview
      • push
      • remove
      • filter
      • find
      • lookup
      • map
      • sort
      • clone
      • Overview
      • if
      • for_each
      • stop
      • continue
      • reject
      • Overview
      • emit
      • emit_each
      • submit
      • schedule
      • Overview
      • relationship_create
      • relationship_remove
      • lock
      • unlock
      • Overview
      • decision
    • Overview
    • Events API
    • Projections API
    • Queries API
    • Error Reference
    • Overview
    • TypeScript / JavaScript
    • Python
    • PHP / Laravel
    • Testing
  • CLI Reference
    • Overview
    • Core, Fields & Paths
    • Operations & Arrays
    • Determinism & Compatibility
    • Events, Intents & Sagas
    • Scope & Execution Plan
    • Commit Envelopes
    • Projections
    • Queries & Relationships
    • Listeners
    • AI Decisions & Prompts
    • AI Memory & Providers
    • Overview
    • Concept
    • Defining Relationships
    • Best Practices
    • Examples
    • Overview
    • Concept
    • Defining Listeners
    • Best Practices
    • Examples
    • Overview
    • Participants
    • Lifecycle & Timeout
    • Causal Ordering
    • Examples
    • Overview
    • Forks
    • Releases
    • Deployments
    • Overview
Question? Give us feedback →Edit this page
ReferenceOperations ReferenceControl flowOverview

Control flow

OperationWhat it does
ifRun a branch when a condition holds
for_eachRun a block for each item
stopStop the current loop or rule path
continueSkip to the next item
rejectFail the intent and write nothing

Parameters and phase rules are on each page. The full index is Operations Reference.

cloneif

© 2026 Causet · causet.io · Report a docs problem