Hi All, Whats the best way to get information suc...
# ask-community
n
Hi All, Whats the best way to get information such as flow id and task id programmatically during execution?
1
b
Hi Nathan, is this for Prefect 1 or 2?
n
@Bianca Hoch Prefect 2
b
You can accomplish this by getting the task and flow run context. Here's an article that will help get you started.
n
Thank you!!
🚀 1
1
@Bianca Hoch Is there a way to see the final context of a flow? Can I call prefect.context.something and pass in the flow id to get info after its completed?