https://prefect.io logo
Title
c

Chu

08/01/2022, 3:51 PM
Having a question for rename create_flow_run task, I think I post to the wrong channel https://prefect-community.slack.com/archives/C0192RWGJQH/p1659360778884719
1
j

Jeff Hale

08/01/2022, 3:57 PM
Check out the docs here: https://docs-v1.prefect.io/orchestration/flow-runs/creation.html#flow-run-names Looks like you need the keyword argument to be
flow_run_name='xxx'
c

Chu

08/01/2022, 4:35 PM
so the flow_run_name is different from run_name right?
what I want is to rename
create_flow_run (Parent)
and
wait_for_flow_run(Parent)
name as something more customized as shown in the picture, it cannot be changed using flow_run_name.
r

Rob Freedy

08/02/2022, 1:59 AM
With the document above, you can specify the flow run name and you can also specify a task run name inside of the task decorator: https://docs-v1.prefect.io/api/latest/core/task.html#task-2 Here is a discourse document that may be helpful in renaming create_flow_run and wait_for_flow_run: https://discourse.prefect.io/t/how-to-customize-how-the-name-of-a-task-triggering-a-chi[…]-how-to-override-the-default-task-name-create-flow-run/476
1