hey there, i'm trying to use a task's result as a directory name. is this possible?
✅ 1
c
Christopher Boyd
10/28/2022, 3:08 PM
depends on what a tasks result is, I don’t see why not
Christopher Boyd
10/28/2022, 3:09 PM
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
Jon
10/28/2022, 3:46 PM
thx, this was helpful
Jon
10/28/2022, 3:46 PM
i needed to pass it this
prefect.context.get("flow_run_id")
🙌 1
c
Christopher Boyd
10/28/2022, 5:22 PM
Awesome - I think I misunderstood your initial question of if you could, so good that you got the how part!
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.