<?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=Edit-task</id>
	<title>Edit-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=Edit-task"/>
	<link rel="alternate" type="text/html" href="https://wiki.dafne.bi-services.sk/index.php?title=Edit-task&amp;action=history"/>
	<updated>2026-10-23T19:25:08Z</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=Edit-task&amp;diff=90&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=Edit-task&amp;diff=90&amp;oldid=prev"/>
		<updated>2026-08-06T13:36:51Z</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;[[File:admin_edit_task.png|thumb|right|Editing a task]]&lt;br /&gt;
A [[Task]] is the unit of execution. It requires an existing [[Group]] and an existing [[Connection]].&lt;br /&gt;
&lt;br /&gt;
== Creating a task ==&lt;br /&gt;
# Open &amp;#039;&amp;#039;&amp;#039;Author&amp;#039;&amp;#039;&amp;#039; → &amp;#039;&amp;#039;&amp;#039;Tasks&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
# Click &amp;#039;&amp;#039;&amp;#039;Add task&amp;#039;&amp;#039;&amp;#039; in the task hierarchy header.&lt;br /&gt;
# Select the &amp;#039;&amp;#039;&amp;#039;Group&amp;#039;&amp;#039;&amp;#039; — the list shows entries as &amp;#039;&amp;#039;scenario - group&amp;#039;&amp;#039;.&lt;br /&gt;
# Select the &amp;#039;&amp;#039;&amp;#039;Connection&amp;#039;&amp;#039;&amp;#039;. This determines which further fields appear.&lt;br /&gt;
# Enter the command in the connection-specific section.&lt;br /&gt;
# Click &amp;#039;&amp;#039;&amp;#039;Save&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Identification ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Field !! Notes&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;ID&amp;#039;&amp;#039;&amp;#039; || Assigned automatically; read-only.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Name&amp;#039;&amp;#039;&amp;#039; || Mandatory. Must be unique &amp;#039;&amp;#039;&amp;#039;within the group&amp;#039;&amp;#039;&amp;#039;, so the same name may be reused in another group.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Enabled&amp;#039;&amp;#039;&amp;#039; || When cleared, the task is not included when a processing is planned.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Group&amp;#039;&amp;#039;&amp;#039; || The owning group. Changing it also changes the scenario.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Connection&amp;#039;&amp;#039;&amp;#039; || How the task is executed.&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;Milestone&amp;#039;&amp;#039;&amp;#039; || Marks the task as a milestone tracked on the Dashboard. When set, a &amp;#039;&amp;#039;&amp;#039;Deadline&amp;#039;&amp;#039;&amp;#039; field appears for the time it is expected to complete.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== The command ==&lt;br /&gt;
The fields for entering the command depend on the connection&amp;#039;s provider — database, script, REST, ODI, Azure, AWS or GCP each have their own section. See [[Connection]] and its sub-pages.&lt;br /&gt;
&lt;br /&gt;
Three helpers sit above the command area:&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Add variable&amp;#039;&amp;#039;&amp;#039; — lists the available [[Placeholders|placeholders]] with their meanings, so they do not have to be remembered.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Select template&amp;#039;&amp;#039;&amp;#039; — offered for OS Command tasks; inserts a predefined command skeleton.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Error handler&amp;#039;&amp;#039;&amp;#039; — offered for database tasks; wraps the statement in an exception-handling block.&lt;br /&gt;
&lt;br /&gt;
Use &amp;#039;&amp;#039;&amp;#039;Add variable&amp;#039;&amp;#039;&amp;#039; rather than typing placeholders by hand — the list is authoritative and the names are easy to get subtly wrong.&lt;br /&gt;
&lt;br /&gt;
== Prioritisation and load ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Field !! Range !! Default !! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Priority&amp;#039;&amp;#039;&amp;#039; || 0–9999 || 20 || Lower runs earlier.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Weight&amp;#039;&amp;#039;&amp;#039; || 0–9999 || 10 || How much load the task represents, against group and connection load limits.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Max repeat&amp;#039;&amp;#039;&amp;#039; || 0–9999 || 1 || Further attempts after a failure.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Wait to retry&amp;#039;&amp;#039;&amp;#039; || 1–9999 min || 10 || Interval between attempts.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Inherits priority&amp;#039;&amp;#039;&amp;#039; || || on || Take the priority of a dependent task where it is higher.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Weights are assigned by hand and are not adjusted automatically. If a task&amp;#039;s resource usage changes significantly, the weight must be updated. See [[Resource management]] and [[Prioritization]].&lt;br /&gt;
&lt;br /&gt;
== Scheduling ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Field !! Notes&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Start date&amp;#039;&amp;#039;&amp;#039; / &amp;#039;&amp;#039;&amp;#039;End date&amp;#039;&amp;#039;&amp;#039; || Validity, evaluated against the processing date.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Schedule&amp;#039;&amp;#039;&amp;#039; || Daily, Weekly, Monthly, Quarterly or Yearly.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Weekdays&amp;#039;&amp;#039;&amp;#039; || For Weekly — the days on which the task runs.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Day&amp;#039;&amp;#039;&amp;#039; || For Monthly, Quarterly and Yearly — the day within the period. The &amp;#039;&amp;#039;&amp;#039;reversed&amp;#039;&amp;#039;&amp;#039; checkbox counts from the end instead of the start, which is how &amp;quot;last day of the month&amp;quot; is expressed.&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; || A time window within the day during which the task may run.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Field !! Options !! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Execution mode&amp;#039;&amp;#039;&amp;#039; || Workflow, Schedule || How the task participates in the flow.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Multiday mode&amp;#039;&amp;#039;&amp;#039; || Group setting, Parallel, Serial, Consumed, Fully processed || Behaviour when several dates are active at once. See [[Parallelism]].&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Dependency mode&amp;#039;&amp;#039;&amp;#039; || All dependencies, First dependency || Whether to wait for every dependency or continue after the first.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Warnings ==&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Warning after repeats&amp;#039;&amp;#039;&amp;#039; — report a warning once the retry count has been exhausted.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Warning return value&amp;#039;&amp;#039;&amp;#039; — for script tasks, a return value between 0 and 255 to be treated as a warning rather than an error.&lt;br /&gt;
&lt;br /&gt;
A task in Warning status has completed and does not block its dependants; see [[Handling failed tasks]].&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
Add a dependency by typing into the &amp;#039;&amp;#039;&amp;#039;Add...&amp;#039;&amp;#039;&amp;#039; box and selecting from the suggestions. Entries show the task ID, group and name. Only the first 50 matches are listed, so narrow the text if the task you want does not appear.&lt;br /&gt;
&lt;br /&gt;
Each entry in the list has a type button that toggles between:&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;On success&amp;#039;&amp;#039;&amp;#039; — the default; this task waits for the other to finish successfully&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Exclusive&amp;#039;&amp;#039;&amp;#039; — the two tasks may not run at the same time&lt;br /&gt;
&lt;br /&gt;
Use &amp;#039;&amp;#039;&amp;#039;Exclusive&amp;#039;&amp;#039;&amp;#039; for tasks that contend for the same resource — two loads into the same target table, for example — where running them together causes lock waits or deadlocks.&lt;br /&gt;
&lt;br /&gt;
=== Inter-scenario dependencies ===&lt;br /&gt;
Ticking &amp;#039;&amp;#039;&amp;#039;Inter-scenario&amp;#039;&amp;#039;&amp;#039; extends the search to tasks in other scenarios. Cross-scenario dependencies are marked with a distinct icon both in the suggestion list and in the dependency list.&lt;br /&gt;
&lt;br /&gt;
Use them sparingly. A dependency across a scenario boundary couples two planning events that were intended to be independent, and makes it harder to reason about why a processing is waiting.&lt;br /&gt;
&lt;br /&gt;
== Notifications and tags ==&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;Notifications&amp;#039;&amp;#039;&amp;#039; list receives notifications when this task fails, in addition to those assigned at group and scenario level. Notification is sent only after the last automatic attempt has failed. See [[Operator]].&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Tags&amp;#039;&amp;#039;&amp;#039; are added from the &amp;#039;&amp;#039;&amp;#039;Add tag...&amp;#039;&amp;#039;&amp;#039; box and shown as removable chips. They have no effect on execution; see [[Tag]].&lt;br /&gt;
&lt;br /&gt;
Changes to dependencies, notifications and tags apply &amp;#039;&amp;#039;&amp;#039;immediately&amp;#039;&amp;#039;&amp;#039; and are not part of Save.&lt;br /&gt;
&lt;br /&gt;
== Practical notes ==&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Check the executed query after the first run.&amp;#039;&amp;#039;&amp;#039; The &amp;#039;&amp;#039;&amp;#039;Query&amp;#039;&amp;#039;&amp;#039; tab in the [[Monitor console]] shows the statement after placeholder substitution — the quickest way to confirm the definition is right.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Set the weight deliberately for heavy tasks.&amp;#039;&amp;#039;&amp;#039; Leaving every task at the default makes the load limit meaningless as a control.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Run &amp;quot;Check cyclic dependencies&amp;quot;&amp;#039;&amp;#039;&amp;#039; after adding dependencies. A cycle introduced after a processing has been planned is not detected automatically.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Recalculate the reference run&amp;#039;&amp;#039;&amp;#039; after a change that materially alters runtime, or estimates will continue to reflect the old profile.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Task]]&lt;br /&gt;
* [[Dependencies]]&lt;br /&gt;
* [[Placeholders]]&lt;br /&gt;
* [[edit-group]]&lt;/div&gt;</summary>
		<author><name>Dafne</name></author>
		
	</entry>
</feed>