Am I missing something or is it unclear how to set parameters for a flow run via the UI in prefect 2?
✅ 1
k
Khuyen Tran
08/01/2022, 1:59 AM
you can set parameters through the UI after creating a deployment for that flow. Have you tried that?
j
Jenny
08/01/2022, 2:14 AM
Hi @John - there’s a three dot menu you can click on in the deployment page that will give you the option to edit the deployment. This is useful feedback that the path is perhaps unclear.
👍 1
Sorry I'm on mobile but hopefully that helps.
j
John
08/01/2022, 2:22 AM
Ah ok, thanks @Jenny, that's helpful. Is there a way to set them for ad-hoc runs like in Prefect 1?
j
Jenny
08/01/2022, 2:27 AM
There’s not at present. I guess your use case would be to override your default parameters for just one run? I encourage you to tell us a bit more about what you'd like to see (you can add here or open an issue in the Prefect repo) so we can consider it for future development.
j
John
08/01/2022, 2:54 AM
Basically - if a job failed eg. two days ago, I want to re-run it ad hoc with two days ago's parameters (eg. something like a
run_date
)
👍 3
j
Jenny
08/18/2022, 5:41 PM
@John - a follow up here to say you should now be able to set parameters for ad hoc runs from the ui.
j
John
08/18/2022, 7:24 PM
Amazing! I'll update to newest version and try it out. Thanks @Jenny!
🚀 1
❤️ 1
Looks great! Really cool. I think this is a nice experience