hey there, i'm trying to use a task's result as a ...
# ask-community
j
hey there, i'm trying to use a task's result as a directory name. is this possible?
1
c
depends on what a tasks result is, I don’t see why not
the result itself is whatever the return is, so you could treat it functionally just like a variable and write to a directory with the result, it’s basically the concept of persistence
j
thx, this was helpful
i needed to pass it this
prefect.context.get("flow_run_id")
🙌 1
c
Awesome - I think I misunderstood your initial question of if you could, so good that you got the how part!