<?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: TaskSensor - check if task is succeded in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/tasksensor-check-if-task-is-succeded/m-p/64668#M32622</link>
    <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you. In my case I plan to use API:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/api/workspace/jobs/listruns" target="_blank" rel="noopener"&gt;https://docs.databricks.com/api/workspace/jobs/listruns&lt;/A&gt;&amp;nbsp;- for choosing the latest run_id&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/api/workspace/jobs/getrun" target="_blank" rel="noopener"&gt;https://docs.databricks.com/api/workspace/jobs/getrun&lt;/A&gt;&amp;nbsp;- for getting task status for run_id&lt;/P&gt;&lt;P&gt;Python script will run every 10 minutes in certain predefined period of time and check the status of the tasks.&lt;/P&gt;</description>
    <pubDate>Tue, 26 Mar 2024 14:00:00 GMT</pubDate>
    <dc:creator>kmodelew</dc:creator>
    <dc:date>2024-03-26T14:00:00Z</dc:date>
    <item>
      <title>TaskSensor - check if task is succeded</title>
      <link>https://community.databricks.com/t5/data-engineering/tasksensor-check-if-task-is-succeded/m-p/64609#M32606</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to check if the task within job is succeded (even the job is marked as failed because on of the tasks).&lt;/P&gt;&lt;P&gt;I need to create dependency for tasks within other jobs. The case is that I have one job for loading all tables for one country. Report uses some tables from job.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking something similar to ExternalTasSensor in Airflow.&lt;/P&gt;&lt;P&gt;What is the best practice in this area? I see the option to use API but maybe you see other, better possibilites.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 10:05:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/tasksensor-check-if-task-is-succeded/m-p/64609#M32606</guid>
      <dc:creator>kmodelew</dc:creator>
      <dc:date>2024-03-26T10:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: TaskSensor - check if task is succeded</title>
      <link>https://community.databricks.com/t5/data-engineering/tasksensor-check-if-task-is-succeded/m-p/64668#M32622</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you. In my case I plan to use API:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/api/workspace/jobs/listruns" target="_blank" rel="noopener"&gt;https://docs.databricks.com/api/workspace/jobs/listruns&lt;/A&gt;&amp;nbsp;- for choosing the latest run_id&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/api/workspace/jobs/getrun" target="_blank" rel="noopener"&gt;https://docs.databricks.com/api/workspace/jobs/getrun&lt;/A&gt;&amp;nbsp;- for getting task status for run_id&lt;/P&gt;&lt;P&gt;Python script will run every 10 minutes in certain predefined period of time and check the status of the tasks.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 14:00:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/tasksensor-check-if-task-is-succeded/m-p/64668#M32622</guid>
      <dc:creator>kmodelew</dc:creator>
      <dc:date>2024-03-26T14:00:00Z</dc:date>
    </item>
  </channel>
</rss>

