<?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: Is it possible to get Job Run ID of notebook run by dbutils.notbook.run? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/29223#M20969</link>
    <description>&lt;P&gt;@naman1994​&amp;nbsp; check which Databricks Runtime version you're using. I know that this works with 3.5, but didn't test with 4.0 yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 09 Apr 2018 14:14:37 GMT</pubDate>
    <dc:creator>AugustoElesbão</dc:creator>
    <dc:date>2018-04-09T14:14:37Z</dc:date>
    <item>
      <title>Is it possible to get Job Run ID of notebook run by dbutils.notbook.run?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/29220#M20966</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;When running a notebook using dbutils.notebook.run from a master-notebook, an url to that running notebook is printed, i.e.:&lt;/P&gt;
&lt;P&gt;Notebook job #223150 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;Notebook job #223151
&lt;P&gt;Are there any ways to capture that Job Run ID (#223150 or #223151)? We have 50 or so notebooks that runs in parallell, and if one of them fails it would be nice to see the actual run of the notebook without clicking every url to find the correct one. &lt;/P&gt;
&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2017 07:26:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/29220#M20966</guid>
      <dc:creator>hanspetter</dc:creator>
      <dc:date>2017-08-02T07:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get Job Run ID of notebook run by dbutils.notbook.run?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/29221#M20967</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://users/9278/hanspetter.html" target="_blank"&gt;@hanspetter&lt;/A&gt; you can get the info via the command context:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;dbutils.notebook.getContext.currentRunId
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Besides of that, the following methods (vals) are available in the context:&lt;/P&gt;
&lt;OL&gt;&lt;LI&gt;&lt;B&gt;jobGroup: Option[String]&lt;/B&gt; - unique command identifier that is injected by the driver.&lt;/LI&gt;&lt;LI&gt;&lt;B&gt;rootRunId: Option[RunId]&lt;/B&gt;&lt;/LI&gt;&lt;LI&gt;&lt;B&gt;tags: Map[String, String]&lt;/B&gt; - attribution tags injected by the webapp&lt;/LI&gt;&lt;/OL&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2017 13:44:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/29221#M20967</guid>
      <dc:creator>AugustoElesbão</dc:creator>
      <dc:date>2017-12-11T13:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get Job Run ID of notebook run by dbutils.notbook.run?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/29222#M20968</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Is there any development here, as currentRunId doesn't seem to work(i'm working in python though)&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 11:52:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/29222#M20968</guid>
      <dc:creator>naman1994</dc:creator>
      <dc:date>2018-04-09T11:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get Job Run ID of notebook run by dbutils.notbook.run?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/29223#M20969</link>
      <description>&lt;P&gt;@naman1994​&amp;nbsp; check which Databricks Runtime version you're using. I know that this works with 3.5, but didn't test with 4.0 yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 14:14:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/29223#M20969</guid>
      <dc:creator>AugustoElesbão</dc:creator>
      <dc:date>2018-04-09T14:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get Job Run ID of notebook run by dbutils.notbook.run?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/29224#M20970</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;mine's 3.5 LTS, and it says, "NotebookHandler instance has no attribute 'getContext' "&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 19:05:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/29224#M20970</guid>
      <dc:creator>naman1994</dc:creator>
      <dc:date>2018-04-09T19:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get Job Run ID of notebook run by dbutils.notbook.run?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/29225#M20971</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;It 'll be helpful if you could tell where you foundcurrentrunid, jobGroup, rootrunid etc, cz i cant seem to find these...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;Anyways Thanks 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 19:05:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/29225#M20971</guid>
      <dc:creator>naman1994</dc:creator>
      <dc:date>2018-04-09T19:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get Job Run ID of notebook run by dbutils.notbook.run?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/29226#M20972</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;This code works in Scala only, there is no implementation for it in the Python runtime. And the information I got from a Databricks employee via email, those are internal APIs and they may change without notice.&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 12:48:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/29226#M20972</guid>
      <dc:creator>AugustoElesbão</dc:creator>
      <dc:date>2018-04-10T12:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get Job Run ID of notebook run by dbutils.notbook.run?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/29227#M20973</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Okay, thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 12:50:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/29227#M20973</guid>
      <dc:creator>naman1994</dc:creator>
      <dc:date>2018-04-10T12:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get Job Run ID of notebook run by dbutils.notbook.run?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/29228#M20974</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;In scala, have you ever returned this job run id to another notebook, since im calling many notebooks and i want the job run id returned from the respective notebooks to master. I think I could do it by returning an array, But im not sure if that is possible, cz If scala is like C++, then I wont be able to at all..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;Anyways, i would appreciate your thoughts over this.
&lt;P&gt;Thanks&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 13:32:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/29228#M20974</guid>
      <dc:creator>naman1994</dc:creator>
      <dc:date>2018-04-10T13:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get Job Run ID of notebook run by dbutils.notbook.run?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/29229#M20975</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;FYI - for a Python notebook, you can get the run id in Scala and pass it in via the temp table:&lt;/P&gt;Cell N:%scala val runId = dbutils.notebook.getContext .currentRunId .getOrElse(System.currentTimeMillis() / 1000L) .toString
&lt;P&gt;&lt;/P&gt; 
&lt;P&gt;Seq(runId).toDF("run_id").createOrReplaceTempView("run_id")Cell N + 1:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;runId = spark.table("run_id").head()["run_id"]&lt;/CODE&gt;&lt;/PRE&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 15:49:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/29229#M20975</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-08T15:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get Job Run ID of notebook run by dbutils.notbook.run?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/29230#M20976</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;In Python you should write smth like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;dbutils.notebook.entry_point.getDbutils().notebook().getContext().currentRunId().toString() 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 15:21:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/29230#M20976</guid>
      <dc:creator>staydol</dc:creator>
      <dc:date>2019-05-27T15:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get Job Run ID of notebook run by dbutils.notbook.run?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/29231#M20977</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Definitely needs to be a Feature request. The Run ID is good, we know it's a notebook and therefore it should be the Notebook name not just the word "Notebook"&lt;/P&gt;
&lt;P&gt;Also this dbutils.notebook.getContext.currentRunId&lt;/P&gt;
&lt;P&gt;Is yielding a different number, when print out on success!&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;dbutils.notebook.exit(s"${notebook} #${dbutils.notebook.getContext.currentRunId} : success")&lt;/CODE&gt;&lt;/PRE&gt;
&lt;UL&gt;&lt;LI&gt;Notebook job #7890 - giving&lt;/LI&gt;&lt;LI&gt;MyNotebookName #Some(RunId(8188)) : success&lt;/LI&gt;&lt;/UL&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2019 16:10:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/29231#M20977</guid>
      <dc:creator>ShaunRyan1</dc:creator>
      <dc:date>2019-07-03T16:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get Job Run ID of notebook run by dbutils.notbook.run?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/29232#M20978</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Hi! It's been a long time since I have looked at this problem, but I revisited it this week and found a solution. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;
&lt;P&gt;This returns a json containing information about the notebook: &lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;dbutils.notebook.entry_point.getDbutils().notebook().getContext().toJson() &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If the notebook has been triggered by dbutils.notebook.run, we can find the tag "jobId" here. So we can return the jobid using dbutils.notebook.exit(job_id): &lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;import json 
notebook_info = json.loads(dbutils.notebook.entry_point.getDbutils().notebook().getContext().toJson())
try: 
    #The tag jobId does not exists when the notebook is not triggered by dbutils.notebook.run(...) 
    jobId = notebook_info["tags"]["jobId"] 
except: 
    jobId = -1 
dbutils.notebook.exit(jobId) &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;When executing the notebook we get:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;jobid = dbutils.notebook.run(...) 
print(jobid) 
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This outputs:&lt;/P&gt;
&lt;P&gt;Notebook job #1522478 &lt;/P&gt;
&lt;P&gt;1522478&lt;/P&gt;
&lt;P&gt;Well, this only works when a notebook successfully completes. What we have done is that we are inserting the jobid and notebook path together with the current timestamp to a db-table and query the table when an exception occurs to get the jobid.&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2020 10:36:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/29232#M20978</guid>
      <dc:creator>hanspetter</dc:creator>
      <dc:date>2020-03-19T10:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get Job Run ID of notebook run by dbutils.notbook.run?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/29233#M20979</link>
      <description>&lt;P&gt;Spark config value for "spark.databricks.clusterUsageTags.clusterAllTags" has Json which contains jobId,runId,clusterId... etc&lt;/P&gt;&lt;P&gt;The below article will help you.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.databricks.com/s/feed/0D53f00001HKHjxCAH" target="test_blank"&gt;https://community.databricks.com/s/feed/0D53f00001HKHjxCAH&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2020 02:07:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/29233#M20979</guid>
      <dc:creator>wahanand</dc:creator>
      <dc:date>2020-09-03T02:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get Job Run ID of notebook run by dbutils.notbook.run?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/29234#M20980</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Well this has helped me a lot but i was unable to retrive browserhostname when i was running the notebook. while is was present documentation.. can you please through some light on this&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 10:29:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/29234#M20980</guid>
      <dc:creator>ANILKUMARRAVADA</dc:creator>
      <dc:date>2021-05-11T10:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get Job Run ID of notebook run by dbutils.notbook.run?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/29235#M20981</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I would like to add that this works too:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;dbutils.notebook.entry_point.getDbutils().notebook().getContext().jobId().get() 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 15:52:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/29235#M20981</guid>
      <dc:creator>DungTran</dc:creator>
      <dc:date>2021-08-10T15:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get Job Run ID of notebook run by dbutils.notbook.run?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/29236#M20982</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;this is a more simple version:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;dbutils.notebook.entry_point.getDbutils().notebook().getContext().jobId().get() 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 15:53:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/29236#M20982</guid>
      <dc:creator>DungTran</dc:creator>
      <dc:date>2021-08-10T15:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get Job Run ID of notebook run by dbutils.notbook.run?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/29237#M20983</link>
      <description>&lt;P&gt;Thank you very mush for the share !&lt;/P&gt;&lt;P&gt;&lt;B&gt;dbutils.notebook.entry_point&lt;/B&gt; is even not given by the official doc:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/dev-tools/databricks-utils.html#notebook-utility-dbutilsnotebook" target="test_blank"&gt;https://docs.databricks.com/dev-tools/databricks-utils.html#notebook-utility-dbutilsnotebook&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 13:29:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/29237#M20983</guid>
      <dc:creator>xiangzhu</dc:creator>
      <dc:date>2022-04-05T13:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get Job Run ID of notebook run by dbutils.notbook.run?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/38396#M26621</link>
      <description>&lt;P&gt;Is there also a way to achieve this, when the notebook does not successfully complete. E.g.: when a structured streaming query fails.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 15:18:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/38396#M26621</guid>
      <dc:creator>415963</dc:creator>
      <dc:date>2023-07-25T15:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get Job Run ID of notebook run by dbutils.notbook.run?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/66091#M33015</link>
      <description>&lt;P&gt;I know this is an old thread, but sharing what is working for me well in Python now, for retrieving the run_id as well and building the entire link to that job run:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;job_id = dbutils.notebook.entry_point.getDbutils().notebook().getContext().jobId().get()&lt;BR /&gt;run_id = dbutils.notebook.entry_point.getDbutils().notebook().getContext().currentRunId().get().id()&lt;BR /&gt;workspace_url = spark.conf.get("spark.databricks.workspaceUrl")&lt;BR /&gt;full_run_url = f"http://{workspace_url}/jobs/{job_id}/runs/{run_id}"&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 11 Apr 2024 19:49:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-it-possible-to-get-job-run-id-of-notebook-run-by-dbutils/m-p/66091#M33015</guid>
      <dc:creator>Rodrigo_Mohr</dc:creator>
      <dc:date>2024-04-11T19:49:47Z</dc:date>
    </item>
  </channel>
</rss>

