<?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=Processing</id>
	<title>Processing - 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=Processing"/>
	<link rel="alternate" type="text/html" href="https://wiki.dafne.bi-services.sk/index.php?title=Processing&amp;action=history"/>
	<updated>2026-10-23T19:06:59Z</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=Processing&amp;diff=75&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=Processing&amp;diff=75&amp;oldid=prev"/>
		<updated>2026-08-06T13:36:48Z</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;processing&amp;#039;&amp;#039;&amp;#039; is one planned run of a [[Scenario]] for a specific processing date, and optionally a specific iteration within that date. Where a scenario describes &amp;#039;&amp;#039;what&amp;#039;&amp;#039; should run, a processing is a concrete instance of it actually running.&lt;br /&gt;
&lt;br /&gt;
A scenario processed daily produces a new processing each day, whose date is the effective processing date — usually the previous calendar day.&lt;br /&gt;
&lt;br /&gt;
Which tasks are included is decided when the processing is planned. It takes into account the &amp;#039;&amp;#039;Enabled&amp;#039;&amp;#039; flag on both the [[Group]] and the [[Task]], and the task&amp;#039;s schedule type — daily, weekly, and so on. Tasks created or enabled afterwards are &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; part of a processing that has already been planned; they can be added to it explicitly, see [[Controlling a processing]].&lt;br /&gt;
&lt;br /&gt;
== Attributes ==&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;ID&amp;#039;&amp;#039;&amp;#039; || Internal identifier, assigned when the processing is planned.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Scenario&amp;#039;&amp;#039;&amp;#039; || The scenario it was planned from.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Date&amp;#039;&amp;#039;&amp;#039; || The processing date — the date the run relates to, not the date it executes. Available to tasks as a placeholder.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Iteration&amp;#039;&amp;#039;&amp;#039; || Optional code distinguishing several runs within one date.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Name&amp;#039;&amp;#039;&amp;#039; || Optional label shown in the GUI instead of the default &amp;#039;&amp;#039;scenario/date/iteration&amp;#039;&amp;#039;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Status&amp;#039;&amp;#039;&amp;#039; || See [[Task and processing statuses]].&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Invoked by&amp;#039;&amp;#039;&amp;#039; || The user who started it, or &amp;#039;&amp;#039;System&amp;#039;&amp;#039; when planned automatically.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Started&amp;#039;&amp;#039;&amp;#039; / &amp;#039;&amp;#039;&amp;#039;Finished&amp;#039;&amp;#039;&amp;#039; || Timestamps of the run.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;Show processing details&amp;#039;&amp;#039;&amp;#039; action in the Monitor displays these along with the [[Parameter|parameter values]] resolved for the processing.&lt;br /&gt;
&lt;br /&gt;
== Iteration ==&lt;br /&gt;
The iteration code distinguishes multiple runs of the same scenario on the same date. It is used where part of the processing must run repeatedly — for example loading a section of the warehouse every hour — or to separate a corrective run from the regular one.&lt;br /&gt;
&lt;br /&gt;
It is &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; intended as a mechanism for looping within a processing.&lt;br /&gt;
&lt;br /&gt;
The attribute is optional. When it is not filled in, it is ignored.&lt;br /&gt;
&lt;br /&gt;
=== Iteration codes are compared as text ===&lt;br /&gt;
This matters more than it appears. Comparison of iteration codes is purely a string comparison, so the codes must be written such that their alphabetical order matches their intended order:&lt;br /&gt;
* numeric iterations must be padded: use &amp;#039;&amp;#039;09&amp;#039;&amp;#039; and &amp;#039;&amp;#039;10&amp;#039;&amp;#039;, not &amp;#039;&amp;#039;9&amp;#039;&amp;#039; and &amp;#039;&amp;#039;10&amp;#039;&amp;#039;&lt;br /&gt;
* dates or times used as iteration codes must be written most-significant-part first: &amp;#039;&amp;#039;20170301&amp;#039;&amp;#039; and &amp;#039;&amp;#039;20170102&amp;#039;&amp;#039;, not &amp;#039;&amp;#039;1.3.2017&amp;#039;&amp;#039; and &amp;#039;&amp;#039;2.1.2017&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Getting this wrong causes the ordering checks described below to behave unexpectedly — typically a scenario that refuses to plan a run because a previous code sorts higher than it should.&lt;br /&gt;
&lt;br /&gt;
== Identity and ordering ==&lt;br /&gt;
Two processings are &amp;#039;&amp;#039;&amp;#039;identical&amp;#039;&amp;#039;&amp;#039; when they have the same processing date and the same iteration code, where one is used.&lt;br /&gt;
&lt;br /&gt;
One processing is &amp;#039;&amp;#039;&amp;#039;before&amp;#039;&amp;#039;&amp;#039; another when:&lt;br /&gt;
* its processing date is earlier, or&lt;br /&gt;
* the dates are equal and its iteration code is lower by string comparison&lt;br /&gt;
&lt;br /&gt;
Before a processing is started, Dafne checks that it has not already run, and — depending on the scenario&amp;#039;s &amp;#039;&amp;#039;&amp;#039;check type&amp;#039;&amp;#039;&amp;#039; — that no later processing has already been started. The comparison is hierarchical: the date first, then the iteration code where present. See [[Scenario]] for the check types.&lt;br /&gt;
&lt;br /&gt;
In the Monitor, processings are ordered with active ones first, then by descending date, then by iteration.&lt;br /&gt;
&lt;br /&gt;
== Lifecycle ==&lt;br /&gt;
A processing moves through the states listed in [[Task and processing statuses]]. In outline:&lt;br /&gt;
* it is &amp;#039;&amp;#039;&amp;#039;Waiting&amp;#039;&amp;#039;&amp;#039; until the scenario triggers&lt;br /&gt;
* it becomes &amp;#039;&amp;#039;&amp;#039;Running&amp;#039;&amp;#039;&amp;#039; once tasks start&lt;br /&gt;
* it can be &amp;#039;&amp;#039;&amp;#039;Paused&amp;#039;&amp;#039;&amp;#039; and resumed by an operator, independently of other processings&lt;br /&gt;
* it becomes &amp;#039;&amp;#039;&amp;#039;Finished&amp;#039;&amp;#039;&amp;#039; when all its tasks have reached a terminal state&lt;br /&gt;
* a finished processing can be &amp;#039;&amp;#039;&amp;#039;reopened&amp;#039;&amp;#039;&amp;#039;, which returns it to the active set for corrections&lt;br /&gt;
&lt;br /&gt;
Reopening is described in [[Controlling a processing]]. It keeps the work attached to the original date and iteration, which is the difference between reopening and creating a new run through [[Reprocessing data|reprocessing]].&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Scenario]]&lt;br /&gt;
* [[Planning]]&lt;br /&gt;
* [[Task and processing statuses]]&lt;br /&gt;
* [[Controlling a processing]]&lt;/div&gt;</summary>
		<author><name>Dafne</name></author>
		
	</entry>
</feed>