https://prefect.io logo
Title
w

wonsun

10/14/2022, 9:11 AM
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

Christopher Boyd

10/14/2022, 2:11 PM
w

wonsun

10/17/2022, 5:35 AM
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

Christopher Boyd

10/17/2022, 1:05 PM
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

wonsun

10/20/2022, 8:47 AM
Uhmm.. My question is not clear.. I'll think about it a little more. Thx.