<?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: Passing values between notebook tasks in Workflow Jobs in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/passing-values-between-notebook-tasks-in-workflow-jobs/m-p/25137#M17444</link>
    <description>&lt;P&gt;Hi @Saravanan Ponnaiah​&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stumbled across this old question so answering just in case. &lt;/P&gt;&lt;P&gt;You can use dbutils.notebook.exit and exit the 1st notebook with that batchid variable. You can then collect this variable in you next linked notebook. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps..&lt;/P&gt;&lt;P&gt;Cheers..&lt;/P&gt;</description>
    <pubDate>Sat, 03 Dec 2022 10:35:06 GMT</pubDate>
    <dc:creator>UmaMahesh1</dc:creator>
    <dc:date>2022-12-03T10:35:06Z</dc:date>
    <item>
      <title>Passing values between notebook tasks in Workflow Jobs</title>
      <link>https://community.databricks.com/t5/data-engineering/passing-values-between-notebook-tasks-in-workflow-jobs/m-p/25136#M17443</link>
      <description>&lt;P&gt;I have created a Databricks workflow job with notebooks as individual tasks sequentially linked. I assign a value to a variable in one notebook task (ex: batchid = int(time.time()). Now, I want to pass this batchid variable to next notebook task.&lt;/P&gt;&lt;P&gt;What is the best option to pass this variable to the next notebook? Is using widgets the only option to pass?&lt;/P&gt;</description>
      <pubDate>Sun, 30 Oct 2022 09:58:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/passing-values-between-notebook-tasks-in-workflow-jobs/m-p/25136#M17443</guid>
      <dc:creator>brickster</dc:creator>
      <dc:date>2022-10-30T09:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Passing values between notebook tasks in Workflow Jobs</title>
      <link>https://community.databricks.com/t5/data-engineering/passing-values-between-notebook-tasks-in-workflow-jobs/m-p/25137#M17444</link>
      <description>&lt;P&gt;Hi @Saravanan Ponnaiah​&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stumbled across this old question so answering just in case. &lt;/P&gt;&lt;P&gt;You can use dbutils.notebook.exit and exit the 1st notebook with that batchid variable. You can then collect this variable in you next linked notebook. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps..&lt;/P&gt;&lt;P&gt;Cheers..&lt;/P&gt;</description>
      <pubDate>Sat, 03 Dec 2022 10:35:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/passing-values-between-notebook-tasks-in-workflow-jobs/m-p/25137#M17444</guid>
      <dc:creator>UmaMahesh1</dc:creator>
      <dc:date>2022-12-03T10:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Passing values between notebook tasks in Workflow Jobs</title>
      <link>https://community.databricks.com/t5/data-engineering/passing-values-between-notebook-tasks-in-workflow-jobs/m-p/25138#M17445</link>
      <description>&lt;P&gt;Hi @Saravanan Ponnaiah​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope everything is going great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does @Uma Maheswara Rao Desula​&amp;nbsp; response answer your question? If yes, would you be happy to mark it as best so that other members can find the solution more quickly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We'd love to hear from you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2023 05:54:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/passing-values-between-notebook-tasks-in-workflow-jobs/m-p/25138#M17445</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-09T05:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: Passing values between notebook tasks in Workflow Jobs</title>
      <link>https://community.databricks.com/t5/data-engineering/passing-values-between-notebook-tasks-in-workflow-jobs/m-p/37254#M26299</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/52939"&gt;@brickster&lt;/a&gt;&amp;nbsp;You would use&amp;nbsp;dbutils.jobs.taskValues.set() and&amp;nbsp;dbutils.jobs.taskValues.get().&lt;/P&gt;&lt;P&gt;See docs for more details: &lt;A href="https://docs.databricks.com/workflows/jobs/share-task-context.html" target="_blank"&gt;https://docs.databricks.com/workflows/jobs/share-task-context.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 02:51:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/passing-values-between-notebook-tasks-in-workflow-jobs/m-p/37254#M26299</guid>
      <dc:creator>fijoy</dc:creator>
      <dc:date>2023-07-10T02:51:12Z</dc:date>
    </item>
  </channel>
</rss>

