<?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: databricks notebook parameter works in interactive mode but not in the job in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/databricks-notebook-parameter-works-in-interactive-mode-but-not/m-p/136339#M50543</link>
    <description>&lt;P&gt;Because there was similar thread where user states that it doesn't work in Scala&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.databricks.com/t5/data-engineering/inputwidgetnotdefined-exception-when-running-a-notebook-as-a-job/td-p/45600" target="_blank"&gt;InputWidgetNotDefined exception when running a not... - Databricks Community - 45600&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Oct 2025 07:52:05 GMT</pubDate>
    <dc:creator>szymon_dybczak</dc:creator>
    <dc:date>2025-10-28T07:52:05Z</dc:date>
    <item>
      <title>databricks notebook parameter works in interactive mode but not in the job</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-notebook-parameter-works-in-interactive-mode-but-not/m-p/136321#M50537</link>
      <description>&lt;P&gt;Hi guys&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've added a parameter "&lt;SPAN&gt;files_mask "&amp;nbsp;&lt;/SPAN&gt;to a notebook, with a default value.&lt;/P&gt;&lt;P&gt;The job running this notebook broke with error:&amp;nbsp;&lt;SPAN&gt;com.databricks.dbutils_v1.InputWidgetNotDefined: No input widget named files_mask is defined&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Code:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;mask &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; dbutils.widgets.&lt;/SPAN&gt;&lt;SPAN&gt;get&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'files_mask'&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The problem is, it works in interactive mode but not in the job. How do I use parameters defined in the notebook as-is, without redefining them in job? I'm happy for them to run on defaults as declared in the notebook.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 06:02:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-notebook-parameter-works-in-interactive-mode-but-not/m-p/136321#M50537</guid>
      <dc:creator>Dimitry</dc:creator>
      <dc:date>2025-10-28T06:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: databricks notebook parameter works in interactive mode but not in the job</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-notebook-parameter-works-in-interactive-mode-but-not/m-p/136326#M50538</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/164556"&gt;@Dimitry&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Do you use python or scala in your notebook?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 06:49:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-notebook-parameter-works-in-interactive-mode-but-not/m-p/136326#M50538</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2025-10-28T06:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: databricks notebook parameter works in interactive mode but not in the job</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-notebook-parameter-works-in-interactive-mode-but-not/m-p/136339#M50543</link>
      <description>&lt;P&gt;Because there was similar thread where user states that it doesn't work in Scala&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.databricks.com/t5/data-engineering/inputwidgetnotdefined-exception-when-running-a-notebook-as-a-job/td-p/45600" target="_blank"&gt;InputWidgetNotDefined exception when running a not... - Databricks Community - 45600&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 07:52:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-notebook-parameter-works-in-interactive-mode-but-not/m-p/136339#M50543</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2025-10-28T07:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: databricks notebook parameter works in interactive mode but not in the job</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-notebook-parameter-works-in-interactive-mode-but-not/m-p/136482#M50577</link>
      <description>&lt;P&gt;I'm using &lt;STRONG&gt;Python&lt;/STRONG&gt; and run it under a standard compute (not serverless).&lt;/P&gt;&lt;P&gt;I don't have Scala cells in the notebook and it is confusing, as the other thread was about failing in Scala but working in Python.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dimitry_0-1761692401086.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/21142i0831CC819DD41D1F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dimitry_0-1761692401086.png" alt="Dimitry_0-1761692401086.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 23:01:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-notebook-parameter-works-in-interactive-mode-but-not/m-p/136482#M50577</guid>
      <dc:creator>Dimitry</dc:creator>
      <dc:date>2025-10-28T23:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: databricks notebook parameter works in interactive mode but not in the job</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-notebook-parameter-works-in-interactive-mode-but-not/m-p/136489#M50578</link>
      <description>&lt;P&gt;Also, the same problem with SQL cells&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dimitry_0-1761705933290.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/21143iC52E9FA62E8793F4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dimitry_0-1761705933290.png" alt="Dimitry_0-1761705933290.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Oct 2025 02:46:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-notebook-parameter-works-in-interactive-mode-but-not/m-p/136489#M50578</guid>
      <dc:creator>Dimitry</dc:creator>
      <dc:date>2025-10-29T02:46:20Z</dc:date>
    </item>
  </channel>
</rss>

