Hi, is it correct that setting the task name using...
# prefect-ui
s
Hi, is it correct that setting the task name using task_run_name from prefect 1 does not exist yet in prefect 2?
k
You mean like the dynamic run-time task run name right? Yes I don’t think this is there yet
s
Indeed! Thanks. But this is expected to be added right?
k
Yep!
πŸŽ‰ 1
a
upvote 1
s
Excellent! Will use that for now
πŸ‘ 1
@Anna Geller forgot to ask whether there is a way at the moment to custom set the instance of the flow run instead of these auto generated names?
a
Are you saying you don't like intelligent cows, awesome chickens, and other cute animals? πŸ˜„ I heard that we may expose this functionality in the future, but I have no info about the timeline; afaik this is not considered a high priority item But you can name your flows and deployments which can probably already help? depending on how you work with it and what's your preference
🀣 1
currently, when you navigate in the UI, even though my flow run has the name
georgeous-snake
, I can see in the breadcrumb that it's a run of a flow named "dask-flow" if you use sensible flow names and you attach additional tags to your
DeploymentSpec
, it shouldn't be too difficult to find the right info. But you can explain your use case more if I misunderstood what you are trying to do
s
:) although I love gorgeous snakes, it would be nice to adjust that text to say a datetime of the run or something. Indeed specifying the flow with a specific name is good, this additional feature would be helpful in case this is used for 100s of flows each on their own schedules. I think tags are also not flowrun specific right?
a
You're right, tags are attached to deployments so they wouldn't change on a per run basis I definitely agree that a more use-case-specific flow run names would be more helpful in troubleshooting than funny animal names, but I lost that battle πŸ˜‚ animals won. But custom run names are definitely on the roadmap, I'll keep your use case in mind if the topic should come up during product office hours
πŸ‘ 1
s
Thanks for helping out! Really nice!
πŸ‘ 2