<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.dafne.bi-services.sk/index.php?action=history&amp;feed=atom&amp;title=Task</id>
	<title>Task - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.dafne.bi-services.sk/index.php?action=history&amp;feed=atom&amp;title=Task"/>
	<link rel="alternate" type="text/html" href="https://wiki.dafne.bi-services.sk/index.php?title=Task&amp;action=history"/>
	<updated>2026-10-23T19:06:05Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.4</generator>
	<entry>
		<id>https://wiki.dafne.bi-services.sk/index.php?title=Task&amp;diff=81&amp;oldid=prev</id>
		<title>Dafne: Documentation import</title>
		<link rel="alternate" type="text/html" href="https://wiki.dafne.bi-services.sk/index.php?title=Task&amp;diff=81&amp;oldid=prev"/>
		<updated>2026-08-06T13:36:49Z</updated>

		<summary type="html">&lt;p&gt;Documentation import&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A &amp;#039;&amp;#039;&amp;#039;task&amp;#039;&amp;#039;&amp;#039; is the basic unit of execution. It represents a single call — a database statement or procedure, a shell command, an ETL job, or a cloud service invocation — and is executed synchronously in its own thread.&lt;br /&gt;
&lt;br /&gt;
Every task belongs to exactly one [[Group]], and through the group to exactly one [[Scenario]]. Every task has exactly one [[Connection]], through which it is executed.&lt;br /&gt;
&lt;br /&gt;
A task is a &amp;#039;&amp;#039;&amp;#039;definition&amp;#039;&amp;#039;&amp;#039;. When a scenario is planned, each valid task produces a &amp;#039;&amp;#039;&amp;#039;scheduled task&amp;#039;&amp;#039;&amp;#039; — one instance of it within a [[Processing]]. The scheduled task carries the status; see [[Task and processing statuses]].&lt;br /&gt;
&lt;br /&gt;
== Attributes ==&lt;br /&gt;
&lt;br /&gt;
=== Identification ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Attribute !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Name&amp;#039;&amp;#039;&amp;#039; || Must be unique within the group. Maximum 100 characters.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Description&amp;#039;&amp;#039;&amp;#039; || Free text.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Enabled&amp;#039;&amp;#039;&amp;#039; || Whether the task is included when a processing is planned. A disabled task is not planned at all.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Group&amp;#039;&amp;#039;&amp;#039; || The group the task belongs to.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Connection&amp;#039;&amp;#039;&amp;#039; || The connection used to execute it.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Tags&amp;#039;&amp;#039;&amp;#039; || Informative labels; see [[Tag]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Execution ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Attribute !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Query&amp;#039;&amp;#039;&amp;#039; || The statement or command to execute. See &amp;#039;&amp;#039;The command&amp;#039;&amp;#039; below.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Repeat count&amp;#039;&amp;#039;&amp;#039; || How many further attempts are made after a failure. Default 1.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Repeat timeout&amp;#039;&amp;#039;&amp;#039; || Minutes to wait between attempts. Default 10.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Not before&amp;#039;&amp;#039;&amp;#039; / &amp;#039;&amp;#039;&amp;#039;Not after&amp;#039;&amp;#039;&amp;#039; || An optional time window within the day during which the task may run. Shown in the Info tab of the Monitor when set.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Scheduling ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Attribute !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Schedule type&amp;#039;&amp;#039;&amp;#039; || Daily, Weekly, Monthly, Quarterly or Yearly. Determines whether the task is included in a given processing. Only meaningful for tasks that do not run every day.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Weekdays&amp;#039;&amp;#039;&amp;#039; || For weekly scheduling, the days on which the task runs.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Valid from&amp;#039;&amp;#039;&amp;#039; / &amp;#039;&amp;#039;&amp;#039;Valid to&amp;#039;&amp;#039;&amp;#039; || The period during which the task is planned.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Multiday mode&amp;#039;&amp;#039;&amp;#039; || How the task behaves when several processing dates are active at once. See below.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Execution mode&amp;#039;&amp;#039;&amp;#039; || &amp;#039;&amp;#039;Workflow&amp;#039;&amp;#039; or &amp;#039;&amp;#039;Schedule&amp;#039;&amp;#039; — how the task participates in the flow.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For Monthly, Quarterly and Yearly scheduling the day within the period is given as a number, with a &amp;#039;&amp;#039;reversed&amp;#039;&amp;#039; option that counts from the end of the period instead of the start. That is how &amp;quot;last day of the month&amp;quot; is expressed.&lt;br /&gt;
&lt;br /&gt;
=== Prioritisation and load ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Attribute !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Priority&amp;#039;&amp;#039;&amp;#039; || A lower number means the task is selected earlier. Default 20.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Inherits priority&amp;#039;&amp;#039;&amp;#039; || Whether the task takes the priority of a dependent task when that priority is higher. Enabled by default. Inheritance works through task dependencies only, never through group dependencies. See [[Prioritization]].&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Weight&amp;#039;&amp;#039;&amp;#039; || A number expressing how much load the task places on its group and connection. Default 10. See [[Resource management]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Dependencies ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Attribute !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Dependencies&amp;#039;&amp;#039;&amp;#039; || The tasks this one waits for. See [[Dependencies]].&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Dependency mode&amp;#039;&amp;#039;&amp;#039; || &amp;#039;&amp;#039;All dependencies&amp;#039;&amp;#039; — wait for every dependency to be satisfied. &amp;#039;&amp;#039;First dependency&amp;#039;&amp;#039; — proceed as soon as the first is satisfied. The default is &amp;#039;&amp;#039;All dependencies&amp;#039;&amp;#039;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;First dependency&amp;#039;&amp;#039; mode is used where several equivalent tasks are created and it is meaningful to continue as soon as any one of them reports.&lt;br /&gt;
&lt;br /&gt;
A dependency may also be &amp;#039;&amp;#039;&amp;#039;inter-scenario&amp;#039;&amp;#039;&amp;#039; — pointing at a task in a different scenario. Such dependencies are marked with a distinct icon in the task editor. They should be used sparingly, because they couple two planning events that were intended to be independent. See [[edit-task]].&lt;br /&gt;
&lt;br /&gt;
=== Notification and monitoring ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Attribute !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Operators&amp;#039;&amp;#039;&amp;#039; || Who is notified when the task fails. Notification is sent only after the last automatic attempt has been exhausted. See [[Operator]].&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Milestone&amp;#039;&amp;#039;&amp;#039; || Marks the task as a milestone, tracked on the Dashboard. See [[Analysing processing performance]].&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;SLA time&amp;#039;&amp;#039;&amp;#039; || The time by which the task is expected to complete.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Warn on max repeat&amp;#039;&amp;#039;&amp;#039; || Report a warning when the retry count is exhausted.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Warning return value&amp;#039;&amp;#039;&amp;#039; || A return value treated as a warning rather than an error. Used mainly with shell connections; see [[shell-script-connection]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Multiday mode ==&lt;br /&gt;
When several processing dates are active at once, the multiday mode determines whether this task may run for more than one date at a time.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Mode !! Behaviour&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Group setting&amp;#039;&amp;#039;&amp;#039; || Inherit the setting from the group. This is the default.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Parallel&amp;#039;&amp;#039;&amp;#039; || Instances planned for different dates or iterations may run in parallel. Typical for snapshot data that does not depend on the previous day, and for multi-tenant configurations.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Serial&amp;#039;&amp;#039;&amp;#039; || The task may start only once all its own instances for earlier processing dates have finished.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Consumed&amp;#039;&amp;#039;&amp;#039; || As Serial, and in addition all dependent tasks — the consumers of its output — must have finished for the earlier dates. Used in producer/consumer setups, such as a transformation and historisation relationship.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Fully processed&amp;#039;&amp;#039;&amp;#039; || The task may start only once the previous processings of the whole scenario are complete. The most conservative mode.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Choosing a stricter mode than necessary is the most common reason a catch-up run is slower than expected. See [[Parallelism]] and [[Recovery after an outage]].&lt;br /&gt;
&lt;br /&gt;
== The command ==&lt;br /&gt;
What belongs in the &amp;#039;&amp;#039;&amp;#039;Query&amp;#039;&amp;#039;&amp;#039; field depends on the connection:&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Database&amp;#039;&amp;#039;&amp;#039; — a valid SQL statement. It may be a procedure call, DML or DDL. If the statement returns a result set, the data is ignored.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Shell&amp;#039;&amp;#039;&amp;#039; — the command line to execute. See [[shell-script-connection]].&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;ODI&amp;#039;&amp;#039;&amp;#039; — the name of the scenario or load plan to invoke. See [[etl-tool-connection]].&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Cloud service&amp;#039;&amp;#039;&amp;#039; — the service-specific invocation. See [[cloud-services-connection]].&lt;br /&gt;
&lt;br /&gt;
Before execution, [[Placeholders|placeholders]] in the command are replaced with their current values. The &amp;#039;&amp;#039;&amp;#039;Query&amp;#039;&amp;#039;&amp;#039; tab in the Monitor shows both the definition and the &amp;#039;&amp;#039;&amp;#039;executed query&amp;#039;&amp;#039;&amp;#039; — the text after substitution — which is the reliable way to check what was actually sent.&lt;br /&gt;
&lt;br /&gt;
== Task notes ==&lt;br /&gt;
Notes can be recorded against a task definition and are visible from the Monitor, where the button shows how many exist. A note can later be marked as resolved. Notes are the appropriate place for operational context — a known quirk, a workaround, a reference to a ticket — that would otherwise live only in someone&amp;#039;s memory.&lt;br /&gt;
&lt;br /&gt;
== Editing and locking ==&lt;br /&gt;
A task can be locked for editing, which prevents two people changing the same definition at once. A lock can be released if it has been left behind.&lt;br /&gt;
&lt;br /&gt;
Changes made through the assignment controls — adding or removing a tag, an operator or a dependency — take effect immediately and are not part of the Save action.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Task and processing statuses]]&lt;br /&gt;
* [[Group]]&lt;br /&gt;
* [[Dependencies]]&lt;br /&gt;
* [[Placeholders]]&lt;/div&gt;</summary>
		<author><name>Dafne</name></author>
		
	</entry>
</feed>