02/18/2021, 10:31 AM
Hey, I wonder if it is possible to name future scheduled flow_runs derived from some provided flowrun name-template and the scheduled time. At the moment, we schedule most of our flows using a CronSchedule. Then, the prefect-scheduler schedules future FlowRuns with funny flowrun names such as
, but they don't provide any actual value. Since it is quite nice (from ui perspective) to have meaningful names, we rename these flowruns during runtime like
. However, if a flowrun fails before executing the rename task, it won't have this "nice" name but the orignal (meaning-less) name. Also, renaming inside the flow will also overwrite flowrun names which were provided when manually starting a flowrun with name, e.g. from ui.