https://prefect.io logo
b

Bob Primusanto

12/17/2020, 9:23 AM
Hello, I'm looking for a way to get the flow_id. I want to record this as a column in my table, to trace back to a particular task if i encounter an issue. any ideas?
j

josh

12/17/2020, 2:04 PM
Hey @Bob Primusanto you should be able to grab the flow_id during your run out of
prefect.context
https://docs.prefect.io/api/latest/utilities/context.html
b

Bob Primusanto

12/17/2020, 9:06 PM
thanks @josh!