Hello experts~ :marvin: I'm using prefect 1.x and ...
# prefect-community
w
Hello experts~ marvin I'm using prefect 1.x and Cloud. I made it to run a certain flow registered in the cloud with the GraphQL API. In this time i want to use the flow run_name in that flow. Every flow automatically creates a run_name as it is executed, right? Can't we put in the a task inside that flow which gets the flow's run name that is executed by API? There is only one flow here, and I asked because I wanted the output of that flow to be specified as the flow's run_name.
1
c
w
oh.. but prefect cloud UI makes the flow runs name by combining two random words, right(attached image)? I meant i want to use these name from task which in that flow.
c
I’m not sure I follow - do you want to name the task that runs? Or do you want to name the flow-run? The flow-run gets the randomized name - it is not customizable. The tasks can be re-named - you could rename it to the flow-run if you want to
🥰 1
w
Uhmm.. My question is not clear.. I'll think about it a little more. Thx.