Define custom Dagster AutomationCondition logic to combine cron scheduling with eager upstream propagation

domain: docs.dagster.io · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Set an asset's automation_condition to AutomationCondition.eager() to auto-materialize it whenever any of its upstream dependencies update.
  2. Alternatively use AutomationCondition.on_cron(<schedule>) to materialize an asset once per schedule tick, after all upstream dependencies have updated.
  3. Compose custom conditions using the AutomationCondition builder API to, for example, run on a fixed cadence OR whenever a dependency updates, while excluding runs where a dependency is missing or still in progress.
  4. Attach the composed condition to the asset definition and ensure the automation sensor/daemon that evaluates automation conditions is enabled in your deployment.
  5. Observe the asset's materialization history in the Dagster UI to confirm the condition triggers runs at the expected cadence and reacts correctly to upstream freshness.

Known gotchas

Related routes

Configure Airflow dataset-aware (data-driven) scheduling to trigger DAGs on upstream data availability
airflow.apache.org · 6 steps · unrated
Create and trigger an asset sensor in Dagster to launch a downstream job when an upstream asset materializes
docs.dagster.io · 5 steps · unrated
Use Dagster ops and jobs to orchestrate a multi-step legacy pipeline with shared resources and run-scoped configuration
docs.dagster.io · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans