<?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: Run one workflow dynamically with different parameter and schedule time. in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/run-one-workflow-dynamically-with-different-parameter-and/m-p/42824#M2109</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Update / Solved:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Using CLI on Linux/MacOS:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;Send in the sample json with job_id in it.&amp;nbsp;&lt;BR /&gt;databricks jobs run-now --json '{&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;"job_id":&amp;lt;job-ID&amp;gt;,&lt;BR /&gt;&amp;nbsp; "notebook_params": {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;key&amp;gt;:&amp;lt;value&amp;gt;,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;key&amp;gt;:&amp;lt;value&amp;gt;&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;}'&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;Using CLI on Windows:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;Send in the sample json with job_id in it and sringify the json as below&lt;BR /&gt;databricks jobs run-now --json '{&amp;nbsp;\"job_id\":&amp;lt;job-ID&amp;gt;, \"notebook_params\": { &amp;lt;key&amp;gt;:&amp;lt;value&amp;gt;, &amp;lt;key&amp;gt;:&amp;lt;value&amp;gt; } }'&lt;/P&gt;</description>
    <pubDate>Tue, 29 Aug 2023 21:10:31 GMT</pubDate>
    <dc:creator>DBXC</dc:creator>
    <dc:date>2023-08-29T21:10:31Z</dc:date>
    <item>
      <title>Run one workflow dynamically with different parameter and schedule time.</title>
      <link>https://community.databricks.com/t5/machine-learning/run-one-workflow-dynamically-with-different-parameter-and/m-p/5571#M253</link>
      <description>&lt;P&gt;Can we run &lt;B&gt;one workflow for different parameters and different schedule time&lt;/B&gt;. so that only one workflow can executed for different parameters we&lt;B&gt; do not have to create that workflow again and again&lt;/B&gt;. or we can say Is there any possibility to drive workflow dynamically?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 09:59:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/run-one-workflow-dynamically-with-different-parameter-and/m-p/5571#M253</guid>
      <dc:creator>yo1</dc:creator>
      <dc:date>2023-04-19T09:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Run one workflow dynamically with different parameter and schedule time.</title>
      <link>https://community.databricks.com/t5/machine-learning/run-one-workflow-dynamically-with-different-parameter-and/m-p/5572#M254</link>
      <description>&lt;P&gt;Assuming by workflow, you mean jobs then yes for parameters using the jobs api&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/dev-tools/api/2.0/jobs" alt="https://learn.microsoft.com/en-us/azure/databricks/dev-tools/api/2.0/jobs" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/dev-tools/api/2.0/jobs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scheduling is a different matter. This may be possible through the spark_submit_params that the API exposes but not something i have tried. I ended up creating a scheduling engine outside of Databricks which is called by Data Factory which works out what to execute at a given invocation time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The parameter values to be provided to the Jobs API are passed from the scheduling engine into Databricks by Data Factory which will then override the parameter values stored at the Job level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am also assuming the underlying code is generic and will run based on the parameter values provided...&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>Wed, 19 Apr 2023 15:56:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/run-one-workflow-dynamically-with-different-parameter-and/m-p/5572#M254</guid>
      <dc:creator>labromb</dc:creator>
      <dc:date>2023-04-19T15:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: Run one workflow dynamically with different parameter and schedule time.</title>
      <link>https://community.databricks.com/t5/machine-learning/run-one-workflow-dynamically-with-different-parameter-and/m-p/5573#M255</link>
      <description>&lt;P&gt;Hi, if you using databricks. can you to take a jobs. &lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/workflows/jobs/jobs.html" target="test_blank"&gt;https://docs.databricks.com/workflows/jobs/jobs.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ex: Can you crate a notboook with variables  parameters .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/351i54CD32C1260F3060/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 20:57:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/run-one-workflow-dynamically-with-different-parameter-and/m-p/5573#M255</guid>
      <dc:creator>fabio2352</dc:creator>
      <dc:date>2023-04-28T20:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Run one workflow dynamically with different parameter and schedule time.</title>
      <link>https://community.databricks.com/t5/machine-learning/run-one-workflow-dynamically-with-different-parameter-and/m-p/42564#M2095</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could someone please provide working example on the CLI side using run-now command with JSON job parameters? Is this a bug within the CLI?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am experience similar problem with the post below and currently on CLI v0.2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.databricks.com/t5/data-engineering/in-azure-databricks-cli-how-to-pass-in-the-parameter-notebook/td-p/7781" target="_blank"&gt;https://community.databricks.com/t5/data-engineering/in-azure-databricks-cli-how-to-pass-in-the-parameter-notebook/td-p/7781&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 16:53:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/run-one-workflow-dynamically-with-different-parameter-and/m-p/42564#M2095</guid>
      <dc:creator>DBXC</dc:creator>
      <dc:date>2023-08-28T16:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: Run one workflow dynamically with different parameter and schedule time.</title>
      <link>https://community.databricks.com/t5/machine-learning/run-one-workflow-dynamically-with-different-parameter-and/m-p/42823#M2108</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Update / Solved:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Using CLI on Linux/MacOS:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;Send in the sample json with job_id in it.&amp;nbsp;&lt;BR /&gt;databricks jobs run-now --json '{&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;"job_id":&amp;lt;job-ID&amp;gt;,&lt;BR /&gt;&amp;nbsp; "notebook_params": {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;key&amp;gt;:&amp;lt;value&amp;gt;,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;key&amp;gt;:&amp;lt;value&amp;gt;&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;}'&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;Using CLI on Windows:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;Send in the sample json with job_id in it and sringify the json as below&lt;BR /&gt;databricks jobs run-now --json '{&amp;nbsp;\"job_id\":&amp;lt;job-ID&amp;gt;, \"notebook_params\": { &amp;lt;key&amp;gt;:&amp;lt;value&amp;gt;, &amp;lt;key&amp;gt;:&amp;lt;value&amp;gt; } }'&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 21:10:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/run-one-workflow-dynamically-with-different-parameter-and/m-p/42823#M2108</guid>
      <dc:creator>DBXC</dc:creator>
      <dc:date>2023-08-29T21:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Run one workflow dynamically with different parameter and schedule time.</title>
      <link>https://community.databricks.com/t5/machine-learning/run-one-workflow-dynamically-with-different-parameter-and/m-p/42824#M2109</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Update / Solved:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Using CLI on Linux/MacOS:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;Send in the sample json with job_id in it.&amp;nbsp;&lt;BR /&gt;databricks jobs run-now --json '{&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;"job_id":&amp;lt;job-ID&amp;gt;,&lt;BR /&gt;&amp;nbsp; "notebook_params": {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;key&amp;gt;:&amp;lt;value&amp;gt;,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;key&amp;gt;:&amp;lt;value&amp;gt;&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;}'&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;Using CLI on Windows:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;Send in the sample json with job_id in it and sringify the json as below&lt;BR /&gt;databricks jobs run-now --json '{&amp;nbsp;\"job_id\":&amp;lt;job-ID&amp;gt;, \"notebook_params\": { &amp;lt;key&amp;gt;:&amp;lt;value&amp;gt;, &amp;lt;key&amp;gt;:&amp;lt;value&amp;gt; } }'&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 21:10:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/run-one-workflow-dynamically-with-different-parameter-and/m-p/42824#M2109</guid>
      <dc:creator>DBXC</dc:creator>
      <dc:date>2023-08-29T21:10:31Z</dc:date>
    </item>
  </channel>
</rss>

