<?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  Job ID and Run ID and save into a database in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-get-the-job-id-and-run-id-and-save-into-a-database/m-p/152585#M53849</link>
    <description>&lt;P&gt;i came across a similar requirement and got it through named parameters. Wrote a &lt;A href="https://community.databricks.com/t5/generative-ai/how-to-actually-get-job-id-and-run-id-in-a-databricks-python/td-p/152345" target="_self"&gt;community&lt;/A&gt; blog about it&lt;/P&gt;</description>
    <pubDate>Mon, 30 Mar 2026 18:56:00 GMT</pubDate>
    <dc:creator>Kirankumarbs</dc:creator>
    <dc:date>2026-03-30T18:56:00Z</dc:date>
    <item>
      <title>How to get the  Job ID and Run ID and save into a database</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-get-the-job-id-and-run-id-and-save-into-a-database/m-p/17631#M11611</link>
      <description>&lt;P&gt;We are having Databricks Job running with main class and JAR file in it. Our JAR file code base is in Scala. Now, when our job starts running, we need to log Job ID and Run ID into the database for future purpose. How can we achieve this?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2022 12:23:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-get-the-job-id-and-run-id-and-save-into-a-database/m-p/17631#M11611</guid>
      <dc:creator>Mohit_m</dc:creator>
      <dc:date>2022-06-15T12:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the  Job ID and Run ID and save into a database</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-get-the-job-id-and-run-id-and-save-into-a-database/m-p/17632#M11612</link>
      <description>&lt;P&gt;You can pass {job_id}} and {{run_id}} in Job arguments&amp;nbsp;and print that information and save into wherever its 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>Wed, 15 Jun 2022 12:25:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-get-the-job-id-and-run-id-and-save-into-a-database/m-p/17632#M11612</guid>
      <dc:creator>Mohit_m</dc:creator>
      <dc:date>2022-06-15T12:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the  Job ID and Run ID and save into a database</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-get-the-job-id-and-run-id-and-save-into-a-database/m-p/17633#M11613</link>
      <description>&lt;P&gt;Here is a blog with code and examples on how to achieve this &lt;A href="https://medium.com/@canadiandataguy/how-to-get-the-job-id-and-run-id-for-a-databricks-job-b0da484e66f5" target="test_blank"&gt;https://medium.com/@canadiandataguy/how-to-get-the-job-id-and-run-id-for-a-databricks-job-b0da484e66f5&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 19:16:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-get-the-job-id-and-run-id-and-save-into-a-database/m-p/17633#M11613</guid>
      <dc:creator>User16783853961</dc:creator>
      <dc:date>2023-02-24T19:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the  Job ID and Run ID and save into a database</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-get-the-job-id-and-run-id-and-save-into-a-database/m-p/68542#M33698</link>
      <description>&lt;P&gt;That article is for members only, can we also specify here how to do it (for those that are not medium members?). Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 08:05:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-get-the-job-id-and-run-id-and-save-into-a-database/m-p/68542#M33698</guid>
      <dc:creator>Bruno-Castro</dc:creator>
      <dc:date>2024-05-08T08:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the  Job ID and Run ID and save into a database</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-get-the-job-id-and-run-id-and-save-into-a-database/m-p/152585#M53849</link>
      <description>&lt;P&gt;i came across a similar requirement and got it through named parameters. Wrote a &lt;A href="https://community.databricks.com/t5/generative-ai/how-to-actually-get-job-id-and-run-id-in-a-databricks-python/td-p/152345" target="_self"&gt;community&lt;/A&gt; blog about it&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2026 18:56:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-get-the-job-id-and-run-id-and-save-into-a-database/m-p/152585#M53849</guid>
      <dc:creator>Kirankumarbs</dc:creator>
      <dc:date>2026-03-30T18:56:00Z</dc:date>
    </item>
  </channel>
</rss>

