Scott Zelenka

    Scott Zelenka

    2 years ago
    When a Flow is running, is it aware of it's own flow_run_id? I have a use case where it'd be helpful to have a Flow execute a workflow, then have a final Task where it uploads the results of that Flow to an Object Store with the flow_run_id as the filename.
    nicholas

    nicholas

    2 years ago
    Hi @Scott Zelenka! I believe you can get the flow run id from the flow context in that final task: https://docs.prefect.io/api/latest/utilities/context.html#context