Get task_run_id that is nested in a job_run task

ChristianRRL
Honored Contributor II

Hi, I'm wondering if there is an easier way to accomplish this.

I can use Dynamic Value reference to pull the run_id of Parent 1 into Parent 2, however, what I'm looking for is for Child 1's task run_id to be referenced within Parent 2.

Currently I am considering using the databricks REST API to get the run_id of a notebook task (Child 1) that is nested inside a run_job task (Parent 1), that I can later reference in another run_job task downstream (Parent 2).

Would there be another/easier way of doing this?