Join Slack
Powered by
is there a trigger I can use to do some logging af...
# ask-community
j
joshua mclellan
09/09/2021, 7:17 PM
is there a trigger I can use to do some logging after a run is complete? I would love to write to a database when a flow finishes without having to add a task and muddle the logic of the DAG its self
z
Zanie
09/09/2021, 7:17 PM
You could use the
terminal_state_handler
upvote
1
Zanie
09/09/2021, 7:18 PM
https://docs.prefect.io/core/concepts/flows.html#terminal-state-handlers
j
joshua mclellan
09/09/2021, 7:19 PM
this is 100% what i was looking for! thank you so much!
3
Views
Open in Slack
Previous
Next