https://prefect.io logo
#prefect-server
Title
# prefect-server
j

Jasono

10/19/2020, 6:40 AM
Hi, Is there a way to provide a default "run-name" for a flow? I know using the CLI, it can be specified manually, but I'm hoping to do it programmatically, so that it appears in the UI and can be manually edited if needed.
Copy code
--run-name
k

Kyle Moon-Wright

10/19/2020, 3:19 PM
Hey @Jasono, The only suggestion I can make is to utilize the new RenameFlowRunTask, which was recently added to the Task library. Not exactly what you're looking for, but a means to name your FlowRuns programmatically - especially in conjunction with the FlowRunTask. Otherwise, I believe the only means to accomplish this currently would be with an API call.
j

Jasono

10/19/2020, 3:20 PM
Thank you! I will look into this 🙂
2 Views