hey I was thinking shouldn’t automation triggers have
deployment run state
in addition to
flow run state
and
work queue health
?
I have a flow
trigger_dbt
in multiple deployments and I only want to trigger for specific conditions (i.e. the deployment conditions.. specific params etc).
Stephen Herron
01/25/2023, 5:10 PM
or maybe something like “this flow for x deployment” or something
w
Will Raphaelson
01/25/2023, 5:32 PM
Hey @Stephen Herron thanks for that question. We can consider adding that to the UI. In the interim, you can achieve what you’re trying to do by posting the automation via api. Here are the api docs, you’ll want to use that match related field under the trigger payload like
Copy code
"match_related": {
"prefect.resource.role": "deployment",
"prefect.name": "the name"
}
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.