<@ULVA73B9P> are flows and tasks ID's available vi...
# marvin-in-the-wild
e
@Marvin are flows and tasks ID's available via state?
m
Yes, flow and task run IDs are accessible via their respective states. States contain information about the status of a particular task run or flow run, including their IDs. If you are working with flow and task states in Python using Prefect 2.x, you can retrieve various metadata including their IDs. For example, a state might contain the
flow_run_id
or
task_run_id
. You can find more information about states and their properties in the Prefect documentation: - Overview of States - Working with Results - Flows Concept Specific examples showing the use of state objects and accessing their properties are available in the links provided.