<?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 pass parameters to different notebooks in a workflow? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-pass-parameters-to-different-notebooks-in-a-workflow/m-p/84162#M37146</link>
    <description>&lt;P&gt;As long as the parameter names are the same in all Notebooks, whatever value you trigger the workflow with will automatically be sent to all the notebooks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, if all three notebooks in the workflow have parameters&amp;nbsp;&lt;SPAN&gt;entity-1 and entity-2, and you trigger the workflow externally (like via Airflow) with the dynamic parameter value for each, it should just be sent to all the notebooks accordingly. These become "job parameters" which are then passed down to all tasks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://docs.databricks.com/en/jobs/create-run-jobs.html#pass-parameters-to-a-databricks-job-task" target="_blank"&gt;https://docs.databricks.com/en/jobs/create-run-jobs.html#pass-parameters-to-a-databricks-job-task&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Now, if you need Notebook 1 to set a parameter for Notebook 2, that is a different solution.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 25 Aug 2024 04:09:06 GMT</pubDate>
    <dc:creator>adbooth01</dc:creator>
    <dc:date>2024-08-25T04:09:06Z</dc:date>
    <item>
      <title>How to pass parameters to different notebooks in a workflow?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-pass-parameters-to-different-notebooks-in-a-workflow/m-p/84160#M37145</link>
      <description>&lt;P&gt;I have three notebooks: Notebook-1, Notebook-2, and Notebook-3, with a workflow dependency sequence of 1 -&amp;gt; 2 -&amp;gt; 3.&lt;/P&gt;&lt;P&gt;Notebook-1 dynamically receives parameters, such as entity-1 and entity-2.&lt;/P&gt;&lt;P&gt;Since these parameters change with each run, how can I pass them from Notebook-1 to Notebook-2 and then from Notebook-2 to Notebook-3 for each execution?&lt;/P&gt;&lt;P&gt;I attempted to call Notebook-2 from Notebook-1, but this only creates nesting and doesn't solve the issue.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Aug 2024 22:31:59 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-pass-parameters-to-different-notebooks-in-a-workflow/m-p/84160#M37145</guid>
      <dc:creator>Smriti1</dc:creator>
      <dc:date>2024-08-24T22:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass parameters to different notebooks in a workflow?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-pass-parameters-to-different-notebooks-in-a-workflow/m-p/84162#M37146</link>
      <description>&lt;P&gt;As long as the parameter names are the same in all Notebooks, whatever value you trigger the workflow with will automatically be sent to all the notebooks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, if all three notebooks in the workflow have parameters&amp;nbsp;&lt;SPAN&gt;entity-1 and entity-2, and you trigger the workflow externally (like via Airflow) with the dynamic parameter value for each, it should just be sent to all the notebooks accordingly. These become "job parameters" which are then passed down to all tasks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://docs.databricks.com/en/jobs/create-run-jobs.html#pass-parameters-to-a-databricks-job-task" target="_blank"&gt;https://docs.databricks.com/en/jobs/create-run-jobs.html#pass-parameters-to-a-databricks-job-task&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Now, if you need Notebook 1 to set a parameter for Notebook 2, that is a different solution.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Aug 2024 04:09:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-pass-parameters-to-different-notebooks-in-a-workflow/m-p/84162#M37146</guid>
      <dc:creator>adbooth01</dc:creator>
      <dc:date>2024-08-25T04:09:06Z</dc:date>
    </item>
  </channel>
</rss>

