Quick Orion question: is it possible to set the name of a task at run-time of a flow?
Wieger Opmeer
03/14/2022, 10:56 PM
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
Zanie
03/14/2022, 11:07 PM
Not yet, but we’ll definitely support this in the future.
Zanie
03/14/2022, 11:08 PM
You could do
my_task.with_options(name="my new name")(arg, arg)
in your flow
upvote 1
Zanie
03/14/2022, 11:08 PM
But there’s more to the run name than the task name so it’s not 1:1 yet.
w
Wieger Opmeer
03/14/2022, 11:09 PM
Ok, thanks! I'll give that a try and see what that does..