<?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 Databricks workflow with sequenced tasks in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/databricks-workflow-with-sequenced-tasks/m-p/105215#M9483</link>
    <description>&lt;P&gt;I have a continuous workflow. It is continuous because I would like it to run every minute and if it has stuff to do the first task will take several minutes. As I understand, continuous workflows won't requeue while a job is currently running, whereas scheduled/periodic workflows will be queued if a previous job is running. My problem is that I need to add a second task in the workflow that runs after the first task. When I try to create the second task I get an error saying "&lt;EM&gt;having dependencies inside a task is not allowed in continuous job.&lt;/EM&gt;" The dependency here is that the second task comes &lt;EM&gt;after&lt;/EM&gt; the first task. How can I create a continuous workflow with multiple, sequenced tasks? If this can't be done, how can I have a frequently scheduled workflow that does not queue a second job while a previous job is still running? Thank you!&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jan 2025 17:09:13 GMT</pubDate>
    <dc:creator>h2p5cq8</dc:creator>
    <dc:date>2025-01-10T17:09:13Z</dc:date>
    <item>
      <title>Databricks workflow with sequenced tasks</title>
      <link>https://community.databricks.com/t5/get-started-discussions/databricks-workflow-with-sequenced-tasks/m-p/105215#M9483</link>
      <description>&lt;P&gt;I have a continuous workflow. It is continuous because I would like it to run every minute and if it has stuff to do the first task will take several minutes. As I understand, continuous workflows won't requeue while a job is currently running, whereas scheduled/periodic workflows will be queued if a previous job is running. My problem is that I need to add a second task in the workflow that runs after the first task. When I try to create the second task I get an error saying "&lt;EM&gt;having dependencies inside a task is not allowed in continuous job.&lt;/EM&gt;" The dependency here is that the second task comes &lt;EM&gt;after&lt;/EM&gt; the first task. How can I create a continuous workflow with multiple, sequenced tasks? If this can't be done, how can I have a frequently scheduled workflow that does not queue a second job while a previous job is still running? Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2025 17:09:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/databricks-workflow-with-sequenced-tasks/m-p/105215#M9483</guid>
      <dc:creator>h2p5cq8</dc:creator>
      <dc:date>2025-01-10T17:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks workflow with sequenced tasks</title>
      <link>https://community.databricks.com/t5/get-started-discussions/databricks-workflow-with-sequenced-tasks/m-p/105216#M9484</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/138075"&gt;@h2p5cq8&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Unfortunately, continuous workflows typically don’t support dependencies between tasks, as they are designed to run continuously without a defined start and end. Let me check for additional approaches.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2025 17:17:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/databricks-workflow-with-sequenced-tasks/m-p/105216#M9484</guid>
      <dc:creator>Alberto_Umana</dc:creator>
      <dc:date>2025-01-10T17:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks workflow with sequenced tasks</title>
      <link>https://community.databricks.com/t5/get-started-discussions/databricks-workflow-with-sequenced-tasks/m-p/105219#M9485</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/138075"&gt;@h2p5cq8&lt;/a&gt;,&lt;/P&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Is it possible for you to Instead of a continuous workflow, you can use a scheduled workflow that runs every minute. To prevent multiple instances from running simultaneously, you can implement concurrency control:&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; 1. Set the workflow to run every minute using a cron expression like `* * * * *`.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; 2. At the beginning of your workflow, add a check to see if a previous instance is still running.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Or add dependency tasks in your workflow.&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 10 Jan 2025 17:32:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/databricks-workflow-with-sequenced-tasks/m-p/105219#M9485</guid>
      <dc:creator>Alberto_Umana</dc:creator>
      <dc:date>2025-01-10T17:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks workflow with sequenced tasks</title>
      <link>https://community.databricks.com/t5/get-started-discussions/databricks-workflow-with-sequenced-tasks/m-p/105220#M9486</link>
      <description>&lt;P&gt;Thank you &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/106294"&gt;@Alberto_Umana&lt;/a&gt;. I am happy to make it a scheduled workflow that runs every minute. I have set concurrency to 1, but will that keep subsequent jobs from queueing up? If not, is there some other way to stop Databricks from queueing a subsequent job while a previous job is running? I don't think it's absolutely required; I am just trying to avoid a scenario where a job becomes long running and the job queue starts filling up.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2025 17:46:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/databricks-workflow-with-sequenced-tasks/m-p/105220#M9486</guid>
      <dc:creator>h2p5cq8</dc:creator>
      <dc:date>2025-01-10T17:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks workflow with sequenced tasks</title>
      <link>https://community.databricks.com/t5/get-started-discussions/databricks-workflow-with-sequenced-tasks/m-p/105231#M9487</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/138075"&gt;@h2p5cq8&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;No problem! and you can have the queue option disabled to stop it.&amp;nbsp;Go to the Advanced settings in the Job details side panel and toggle off the Queue option to prevent jobs from being queued&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2025 18:05:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/databricks-workflow-with-sequenced-tasks/m-p/105231#M9487</guid>
      <dc:creator>Alberto_Umana</dc:creator>
      <dc:date>2025-01-10T18:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks workflow with sequenced tasks</title>
      <link>https://community.databricks.com/t5/get-started-discussions/databricks-workflow-with-sequenced-tasks/m-p/105239#M9488</link>
      <description>&lt;P&gt;Perfect! Thank you for your help&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/106294"&gt;@Alberto_Umana&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2025 18:28:59 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/databricks-workflow-with-sequenced-tasks/m-p/105239#M9488</guid>
      <dc:creator>h2p5cq8</dc:creator>
      <dc:date>2025-01-10T18:28:59Z</dc:date>
    </item>
  </channel>
</rss>

