<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Get task_run_id (or job_run_id) of a *launched* job_run task in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/get-task-run-id-or-job-run-id-of-a-launched-job-run-task/m-p/153999#M54049</link>
    <description>&lt;P&gt;Hi there, I'm finding this a bit trickier than originally expected and am hoping someone can help me understand if I'm missing something.&lt;/P&gt;&lt;P&gt;I have 3 jobs:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;One orchestrator job (tasks are type run_job)&lt;/LI&gt;&lt;LI&gt;Two "Parent" jobs (tasks are type notebook)&lt;UL&gt;&lt;LI&gt;parent1 runs the task child1&lt;/LI&gt;&lt;LI&gt;parent2 runs the task child2&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I need to get the task_run_id of the *launched* Parent1 job's Child1. Originally, I was exploring using Dynamic Value Reference in order to feed the job parameter&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;parent1_run_id = {{tasks.parent1.run_id}}&lt;/LI-CODE&gt;&lt;P&gt;I was thinking that with this run_id I could use Databricks REST API in order to find the child1 run_id. However, what I'm seeing is that because&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{{tasks.parent1.run_id}}&lt;/LI-CODE&gt;&lt;P&gt;corresponds to the orchestrator parent1 task, and this is different than the actual *launched* parent1 run_id, this is a dead end, and I cannot use REST API to pull the child1 run_id.&lt;/P&gt;&lt;P&gt;Please let me know if I'm missing anything here. Attached some images for reference.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="task_run_id-poc-1.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/25867i44CF8F6F53ADAD3F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="task_run_id-poc-1.png" alt="task_run_id-poc-1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="task_run_id-poc-2.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/25868i778D5FC864AF627B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="task_run_id-poc-2.png" alt="task_run_id-poc-2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="task_run_id-poc-3.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/25869i7E39F5139F88EF7C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="task_run_id-poc-3.png" alt="task_run_id-poc-3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
    <pubDate>Thu, 09 Apr 2026 22:54:36 GMT</pubDate>
    <dc:creator>ChristianRRL</dc:creator>
    <dc:date>2026-04-09T22:54:36Z</dc:date>
    <item>
      <title>Get task_run_id (or job_run_id) of a *launched* job_run task</title>
      <link>https://community.databricks.com/t5/data-engineering/get-task-run-id-or-job-run-id-of-a-launched-job-run-task/m-p/153999#M54049</link>
      <description>&lt;P&gt;Hi there, I'm finding this a bit trickier than originally expected and am hoping someone can help me understand if I'm missing something.&lt;/P&gt;&lt;P&gt;I have 3 jobs:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;One orchestrator job (tasks are type run_job)&lt;/LI&gt;&lt;LI&gt;Two "Parent" jobs (tasks are type notebook)&lt;UL&gt;&lt;LI&gt;parent1 runs the task child1&lt;/LI&gt;&lt;LI&gt;parent2 runs the task child2&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I need to get the task_run_id of the *launched* Parent1 job's Child1. Originally, I was exploring using Dynamic Value Reference in order to feed the job parameter&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;parent1_run_id = {{tasks.parent1.run_id}}&lt;/LI-CODE&gt;&lt;P&gt;I was thinking that with this run_id I could use Databricks REST API in order to find the child1 run_id. However, what I'm seeing is that because&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{{tasks.parent1.run_id}}&lt;/LI-CODE&gt;&lt;P&gt;corresponds to the orchestrator parent1 task, and this is different than the actual *launched* parent1 run_id, this is a dead end, and I cannot use REST API to pull the child1 run_id.&lt;/P&gt;&lt;P&gt;Please let me know if I'm missing anything here. Attached some images for reference.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="task_run_id-poc-1.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/25867i44CF8F6F53ADAD3F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="task_run_id-poc-1.png" alt="task_run_id-poc-1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="task_run_id-poc-2.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/25868i778D5FC864AF627B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="task_run_id-poc-2.png" alt="task_run_id-poc-2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="task_run_id-poc-3.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/25869i7E39F5139F88EF7C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="task_run_id-poc-3.png" alt="task_run_id-poc-3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2026 22:54:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/get-task-run-id-or-job-run-id-of-a-launched-job-run-task/m-p/153999#M54049</guid>
      <dc:creator>ChristianRRL</dc:creator>
      <dc:date>2026-04-09T22:54:36Z</dc:date>
    </item>
  </channel>
</rss>

