<?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 Workflow parameters in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/workflow-parameters/m-p/34551#M25293</link>
    <description>&lt;P&gt;Hey everyone! I'm close but can't seem to figure this out. I'm trying to add 2 notebooks to a Databricks Job. Instead of the first command in both notebooks being a connection to an RDS/Redshift cluster, I'd prefer to make that connection once and have it shared across both notebooks without using the %run command (I'd rather see both notebooks as tasks in my job/workflow)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE: I set 2 parameters at the Job level and in each notebook, I just added: myvariablename = dbutils.widgets.get("param1name") and then the same myvariablename2 = dbutils.widgets.get("param2name").  BUT is there a better/best practice way of doing this?&lt;/P&gt;</description>
    <pubDate>Mon, 15 Aug 2022 17:30:53 GMT</pubDate>
    <dc:creator>BradSheridan</dc:creator>
    <dc:date>2022-08-15T17:30:53Z</dc:date>
    <item>
      <title>Workflow parameters</title>
      <link>https://community.databricks.com/t5/data-engineering/workflow-parameters/m-p/34551#M25293</link>
      <description>&lt;P&gt;Hey everyone! I'm close but can't seem to figure this out. I'm trying to add 2 notebooks to a Databricks Job. Instead of the first command in both notebooks being a connection to an RDS/Redshift cluster, I'd prefer to make that connection once and have it shared across both notebooks without using the %run command (I'd rather see both notebooks as tasks in my job/workflow)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE: I set 2 parameters at the Job level and in each notebook, I just added: myvariablename = dbutils.widgets.get("param1name") and then the same myvariablename2 = dbutils.widgets.get("param2name").  BUT is there a better/best practice way of doing this?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2022 17:30:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/workflow-parameters/m-p/34551#M25293</guid>
      <dc:creator>BradSheridan</dc:creator>
      <dc:date>2022-08-15T17:30:53Z</dc:date>
    </item>
  </channel>
</rss>

