Hi! There's a prefect feature I was looking for bu...
# prefect-community
a
Hi! There's a prefect feature I was looking for but couldn't quite found it and wondered if anyone knows how to achieve the functionality I'm looking for: I'm looking to pause a flow if a certain condition is met, and if so, I want to allow continuing the flow after entering new input file as a parameter. I know there's this: https://docs.prefect.io/core/idioms/pause-for-approval.html but couldn't find the option for more complicated input than approve/disapprove. Any help will be much appreciated, thx!
k
I think this blog should be a good example
a
yes, this is really great, the only thing is missing is the option to add an input to the task after the pause. Is it something that can be done somehow?
k
I don’t think the Task concept supports that. You need to make a Flow with a parameter, and then you can trigger it with an event by doing
client.create_flow_run(…)