https://dagster.io/ logo
#ask-community
Title
# ask-community
s

Son Giang

06/01/2022, 4:20 AM
Hi there, is there anyway to treat backfill run as a single unit. So when all the jobs in backfill run are finished, we can trigger a sensor/job after that. And if a job in backfill run is failed, it means that the whole backfill run is failed so it will not trigger the sensor/job.
s

Stephen Bailey

06/01/2022, 1:31 PM
backfills do have ids and statuses, so it seems to me like, at the very least, you could implement a sensor that hits the graphql endpoint and looks for recently completed backfills. i'd offer a query but im not great at graphql ... yet 🙂
👍 1
s

Son Giang

06/02/2022, 2:59 AM
Yeah, I’ve done a workaround using this. It’s not very pretty but it works.
2 Views