<?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 Re: How to get the run_id from a previous task in a Databricks jobs in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-get-the-run-id-from-a-previous-task-in-a-databricks-jobs/m-p/10827#M5892</link>
    <description>&lt;P&gt;Hi, You can pass {job_id}} and {{run_id}} in Job arguments&amp;nbsp;and print that information and save into wherever it is needed&lt;/P&gt;&lt;P&gt;please find below the documentation for the same:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/data-engineering/jobs/jobs.html#task-parameter-variables" alt="https://docs.databricks.com/data-engineering/jobs/jobs.html#task-parameter-variables" target="_blank"&gt;https://docs.databricks.com/data-engineering/jobs/jobs.html#task-parameter-variables&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{{job_id}}&lt;/P&gt;&lt;P&gt;The unique identifier assigned to a job&lt;/P&gt;&lt;P&gt;1276862&lt;/P&gt;&lt;P&gt;{{run_id}}&lt;/P&gt;&lt;P&gt;The unique identifier assigned to a job run&lt;/P&gt;&lt;P&gt;3447843&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{{parent_run_id}}&lt;/P&gt;&lt;P&gt;The unique identifier assigned to the run of a job with multiple tasks.&lt;/P&gt;&lt;P&gt;3447835&lt;/P&gt;&lt;P&gt;{{task_key}}&lt;/P&gt;&lt;P&gt;The unique name assigned to a task that’s part of a job with multiple tasks.&lt;/P&gt;</description>
    <pubDate>Tue, 24 Jan 2023 06:49:54 GMT</pubDate>
    <dc:creator>Debayan</dc:creator>
    <dc:date>2023-01-24T06:49:54Z</dc:date>
    <item>
      <title>How to get the run_id from a previous task in a Databricks jobs</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-get-the-run-id-from-a-previous-task-in-a-databricks-jobs/m-p/10826#M5891</link>
      <description>&lt;P&gt;Hi, is there any way to share the run_id from a task_A to a task_B within the same job when task_A is a dbt task? &lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 22:45:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-get-the-run-id-from-a-previous-task-in-a-databricks-jobs/m-p/10826#M5891</guid>
      <dc:creator>mmenjivar</dc:creator>
      <dc:date>2023-01-23T22:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the run_id from a previous task in a Databricks jobs</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-get-the-run-id-from-a-previous-task-in-a-databricks-jobs/m-p/10828#M5893</link>
      <description>&lt;P&gt;I've tried this but it gets the id for the current task&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 17:39:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-get-the-run-id-from-a-previous-task-in-a-databricks-jobs/m-p/10828#M5893</guid>
      <dc:creator>mmenjivar</dc:creator>
      <dc:date>2023-01-24T17:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the run_id from a previous task in a Databricks jobs</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-get-the-run-id-from-a-previous-task-in-a-databricks-jobs/m-p/10827#M5892</link>
      <description>&lt;P&gt;Hi, You can pass {job_id}} and {{run_id}} in Job arguments&amp;nbsp;and print that information and save into wherever it is needed&lt;/P&gt;&lt;P&gt;please find below the documentation for the same:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/data-engineering/jobs/jobs.html#task-parameter-variables" alt="https://docs.databricks.com/data-engineering/jobs/jobs.html#task-parameter-variables" target="_blank"&gt;https://docs.databricks.com/data-engineering/jobs/jobs.html#task-parameter-variables&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{{job_id}}&lt;/P&gt;&lt;P&gt;The unique identifier assigned to a job&lt;/P&gt;&lt;P&gt;1276862&lt;/P&gt;&lt;P&gt;{{run_id}}&lt;/P&gt;&lt;P&gt;The unique identifier assigned to a job run&lt;/P&gt;&lt;P&gt;3447843&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{{parent_run_id}}&lt;/P&gt;&lt;P&gt;The unique identifier assigned to the run of a job with multiple tasks.&lt;/P&gt;&lt;P&gt;3447835&lt;/P&gt;&lt;P&gt;{{task_key}}&lt;/P&gt;&lt;P&gt;The unique name assigned to a task that’s part of a job with multiple tasks.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 06:49:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-get-the-run-id-from-a-previous-task-in-a-databricks-jobs/m-p/10827#M5892</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2023-01-24T06:49:54Z</dc:date>
    </item>
  </channel>
</rss>

