Quick Orion question: is it possible to set the na...
# prefect-community
w
Quick Orion question: is it possible to set the name of a task at run-time of a flow?
More details: I have a task that starts AWS batch jobs and the batch jobName would be a good task name as well, but I don't know the jobName until run time.
z
Not yet, but we’ll definitely support this in the future.
You could do
my_task.with_options(name="my new name")(arg, arg)
in your flow
upvote 1
But there’s more to the run name than the task name so it’s not 1:1 yet.
w
Ok, thanks! I'll give that a try and see what that does..