Thread
#prefect-ui
    j

    John

    1 month ago
    Am I missing something or is it unclear how to set parameters for a flow run via the UI in prefect 2?
    Khuyen Tran

    Khuyen Tran

    1 month ago
    you can set parameters through the UI after creating a deployment for that flow. Have you tried that?
    Jenny

    Jenny

    1 month ago
    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.
    Sorry I'm on mobile but hopefully that helps.
    j

    John

    1 month ago
    Ah ok, thanks @Jenny, that's helpful. Is there a way to set them for ad-hoc runs like in Prefect 1?
    Jenny

    Jenny

    1 month ago
    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

    1 month ago
    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
    )
    Jenny

    Jenny

    1 month ago
    @John - a follow up here to say you should now be able to set parameters for ad hoc runs from the ui.
    j

    John

    1 month ago
    Amazing! I'll update to newest version and try it out. Thanks @Jenny!
    Looks great! Really cool. I think this is a nice experience