Hi I need help with my custom automation.
I was given this script to send a notification after 3 late alarms but for some reason it didn't notify us when that occurred can someone tell me a better Automation Custom script for that. Also I'm not entirely sure if my custom trigger was saved since this does not look like the one i originally put ages ago. If i could have some help in creating an Automation that is triggered when a flow is put into 3 Lates
Hi Taylor, this automation spec will fire the action when a flow run fails, not when its late. to achieve what you’re trying to you’ll want to change:
“prefect.flow-run.Failed” -> “prefect.flow-run.Late”
and then the threshold to 3.
t
Taylor Babin
02/27/2024, 5:05 PM
thank you
Taylor Babin
02/27/2024, 5:07 PM
I believe that's what i had originally but when i go to edit the automation it disappears is that normal?
w
Will Raphaelson
02/27/2024, 5:28 PM
hmm let me try to reproduce this on my end, just a sec.
Will Raphaelson
02/27/2024, 5:30 PM
yeah I see what you’re seeing, let me file and issue and get this bug patched up.
Will Raphaelson
02/27/2024, 9:04 PM
this will be fixed in the next cloud release, thanks. we release most days, so should be out in the world by eod tomorrow if not some time today. thanks!
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.