Hi everyone, we know we can set default parameter ...
# ask-community
r
Hi everyone, we know we can set default parameter to schedule. But is it possible to set default FlowRun name with some prefix for a schedule? Example: in schedule A, the flow run will be named as schedule_a_run_2020-01-01, and schedule B will be schedule_b_run_2020-01-01 Thanks in advance!
z
Hey @Ranu Goldan -- I'd pass a parameter "prefix" then have each schedule set it. You can have your first task call
client.set_flow_run_name(context["flow_run_id"], prefix ...)
to update its own name.
r
I see. Nice workaround! Thanks @Zanie for the help