m

    Martim Lobao

    8 months ago
    it is possible for a task to get its own task run id? say if I wanted each task to send a notification with its task run id for example, would this be possible? and do task run ids persist across retries of the same flow run? (if a flow fails at a task and i restart the flow, will that task have the same task run id as before?)
    Kevin Kho

    Kevin Kho

    8 months ago
    Yes you can do this by pulling it from context. Yes it persists across retries because the restart just moved failed stuff to a scheduled state.
    m

    Martim Lobao

    8 months ago
    thanks Kevin, this is exactly what i was looking for!