Having a question for rename create_flow_run task,...
# ask-community
c
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
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
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
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