Google Cloud Composer - Missing "Trigger DAG w/ config" option?

I have been looking everywhere in Cloud Composer Airflow for the "Trigger DAG w/ config" option when executing a DAG but it seems like it's simply not available anywhere.

Could anyone point me in the right direction as to where this option is or how to activate that?

The environment uses: Cloud Composer: 3 - Airflow version: 2.10.2-build.7

I know I can trigger the DAG through the CLI, but that seems to be the main option or do it through cloud functions. Either option is not ideal as I would rather trigger it from the UI when I need certain options active.

Thanks!

Upvotes: 0

Views: 45

Answers (1)

dzejeu
dzejeu

Reputation: 87

In your Airflow version there's just simple Trigger DAG button (in older versions that button had a choice visible on hoover and you were able to just trigger or trigger with params). In your version:

  • if your DAG requires params Trigger DAG button will redirect you to trigger config page and you will be able to fill the params
  • if the DAG does not require any params, new instance will be scheduled

List item

Upvotes: 0

Related Questions