I have a flow that runs every month. I’d like the ...
# prefect-community
m
I have a flow that runs every month. I’d like the flow run name to always include the name of the month like “My Flow - July”. What’s the best way to do this?
k
That should just be the RenameFlowRun task plus using the date from context
m
Will that work for flows that are scheduled in the future?
Is there a way to do the renaming upon scheduling
k
Ah you would need to hit the graphql API but you can do it with the client like this. You would need a script though