Is there a way to give this create_flow_run, wait_...
# prefect-ui
c
Is there a way to give this create_flow_run, wait_for_flow_run a customized name?? what I set below does not work, what I set will just give the registered child flow run name, but if I have lots of create_flow_run tasks under a parent flow, I hardly know which stands for what. I think the nuances here are, normally we can set task name when we use task decorator , bur for create_flow_run and wait_flow_run, even though they are a task, but I don’t find a way to give them a customized name
Copy code
create_flow_run(
        flow_name="xxx",
        project_name="xxx",
        parameters = params,
        run_name = 'cw1234'
       
    )
2
I’m looking at create_flow_run source code: is there a way to add customized task name on this task decorator?? how to rewrite ?
I found that create_flow_run and wait_for_flow_run are belonging to FunctionTask class, can I rewrite the task name like this :
Copy code
create_flow_run(
        flow_name="xxx",
        project_name="xxx",
        parameters = params,
        run_name = 'cw1234'
        name = 'create cw1234 flow run'
    )
@Chu
1