dwt
dwt

Reputation: 138

Is there a way to define human in the loop tasks

In apache airflow: What I want is to show a small web ui / form to a human to let him make a decision that we cannot implmement in code (yet). I haven't found anything in the docs or with google for that yet - so is there any architectural problem that would prevent that?

Upvotes: 1

Views: 524

Answers (1)

Bas Harenslak
Bas Harenslak

Reputation: 3064

At this point in time, there is no such thing in Airflow.

(thinking out loud) You could set up a form yourself, which sets a True/False somewhere, such as a file or database. In Airflow, you'd then use a sensor to check whether True or False is set. A few examples; you could use the SqlSensor for a database query, the S3KeySensor for a file to be present on AWS S3, or the generic PythonSensor to provide your own condition.

Upvotes: 1

Related Questions