Hi all!
I've developed a Flow that has multiple Clocks on its schedule. Each Clock has its own parameters for the Flow and labels. I was wondering what would be the best way of easily identifying runs for each of the Clocks on the UI.
I found this closed PR on the github repo that would help a lot: https://github.com/PrefectHQ/prefect/pull/3664
A colleague has suggested refactoring the Flow as a Task and then declare multiple flows with different names, but this doesn't sound right...
Do you have any recommendations on this?
k
Kevin Kho
02/11/2022, 8:45 PM
The best I have seen is using
RenameFlowRun
task and adding the parameters or some form of them to the Flow name so that you can distinguish in the UI
g
Gabriel Gazola Milan
02/11/2022, 8:50 PM
But that would only help for Flow Runs already in progress or completed, correct?
I'd rather identify future runs so I could start them whenever I wanted
k
Kevin Kho
02/11/2022, 8:59 PM
You can’t set a Flow Run name in current Prefect ahead of time
g
Gabriel Gazola Milan
02/11/2022, 9:03 PM
Alright, got it. So would there be a recommended way of splitting these Flow Runs? Something like inheriting a Flow into multiple with different names, idk
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.