Hello. I have a quick question about the @trigger_...
# ask-metaflow
f
Hello. I have a quick question about the @trigger_on_finish decorator. Can I use this to essentially re-trigger the same flow and basically keep it running continuously instead of using a scheduled approach? I was going to attempt it but just thought I'd check with the group if anyone knows if this would work.
✅ 1
a
Yep!
f
Thank you for the quick response!
Would it essentially reuse the exact same parameters that triggered the flow or would it reset to the defaults?
a
It will use the defaults but you will have access to the state from the parent run
You can explicitly emit an event from the end step with the right parameters and have the flow use @trigger instead
f
That's perfect, thank you