Join Slack
Powered by
<@U017MFSCG2X> et al... why aren't there also "on_...
# ask-community
r
Rick Fanta
10/22/2025, 1:33 PM
@Adam
et al... why aren't there also "on_started" hooks for tasks and flows? are there good, simple work-arounds for that?
a
alex
10/22/2025, 2:12 PM
Hey
@Rick Fanta
! You should be able to use the
on_running
hook. Here's a link to all the available hooks:
https://docs.prefect.io/v3/how-to-guides/workflows/state-change-hooks
.
r
Rick Fanta
10/22/2025, 2:32 PM
Thx! Right... sorry... I should have been more specific... tasks are the real focus here. [Just hoping to avoid doing a custom decorator over @tasks]
Rick Fanta
10/22/2025, 3:25 PM
[@tasks lacks on_running. I'm looking for alternatives to rolling a custom decorator just to add that]
Open in Slack
Previous
Next