<?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-scenario</id>
	<title>Edit-scenario - 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-scenario"/>
	<link rel="alternate" type="text/html" href="https://wiki.dafne.bi-services.sk/index.php?title=Edit-scenario&amp;action=history"/>
	<updated>2026-10-23T19:25: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=Edit-scenario&amp;diff=88&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-scenario&amp;diff=88&amp;oldid=prev"/>
		<updated>2026-08-06T13:36:50Z</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_scenario.png|thumb|right|Editing a scenario]]&lt;br /&gt;
A [[Scenario]] is the outermost object in the task hierarchy. It must exist before any [[Group]] can be created in it.&lt;br /&gt;
&lt;br /&gt;
Creating a scenario requires an existing [[Connection]] if it is to use SQL-based or REST planning, because the planning query runs through one.&lt;br /&gt;
&lt;br /&gt;
== Creating a scenario ==&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 scenario&amp;#039;&amp;#039;&amp;#039; in the task hierarchy header.&lt;br /&gt;
# Fill in the fields below.&lt;br /&gt;
# Click &amp;#039;&amp;#039;&amp;#039;Save&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
To edit an existing scenario, select it in the tree.&lt;br /&gt;
&lt;br /&gt;
== General fields ==&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 and unique. Naming rules as in [[Authoring items#Naming rules]].&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Enabled&amp;#039;&amp;#039;&amp;#039; || When cleared, no further instances are planned. Instances already planned run to completion.&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 &amp;#039;&amp;#039;&amp;#039;processing date&amp;#039;&amp;#039;&amp;#039; — not the calendar date on which the run executes.&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;
&lt;br /&gt;
== Limits ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Field !! Range !! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Parallel limit&amp;#039;&amp;#039;&amp;#039; || 0–999 || Maximum number of tasks in this scenario running in parallel.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Load limit&amp;#039;&amp;#039;&amp;#039; || 1–999999 || Maximum sum of task weights running in parallel within this scenario.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
See [[Resource management]]. These are scenario-wide; groups and connections have their own limits, and the stricter one always applies.&lt;br /&gt;
&lt;br /&gt;
== Planning type ==&lt;br /&gt;
Selecting the &amp;#039;&amp;#039;&amp;#039;Planning type&amp;#039;&amp;#039;&amp;#039; changes which additional fields appear.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Type !! Additional fields&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Standard daily&amp;#039;&amp;#039;&amp;#039; || Schedule base, workdays only, lag, iteration prefix&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;File-based&amp;#039;&amp;#039;&amp;#039; || Base directory and file name regular expression&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;SQL defined&amp;#039;&amp;#039;&amp;#039; || Connection, query, polling frequency, check type&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;REST polling&amp;#039;&amp;#039;&amp;#039; || Connection and the REST polling settings&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Manual&amp;#039;&amp;#039;&amp;#039; || None — the scenario is only started on request&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The behaviour of each mode is described in [[Planning]]; the fields themselves in [[Scenario]].&lt;br /&gt;
&lt;br /&gt;
=== Not before / Not after ===&lt;br /&gt;
These apply to &amp;#039;&amp;#039;&amp;#039;every&amp;#039;&amp;#039;&amp;#039; planning type. &amp;#039;&amp;#039;Not before&amp;#039;&amp;#039; delays planning until the given time; &amp;#039;&amp;#039;Not after&amp;#039;&amp;#039; prevents planning starting after it. For SQL-based planning, the query is not even executed outside the window.&lt;br /&gt;
&lt;br /&gt;
== Notifications ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Field !! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Notify start&amp;#039;&amp;#039;&amp;#039; || A single notification sent once the scenario has been planned.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Notify finish&amp;#039;&amp;#039;&amp;#039; || A single notification sent once processing of the scenario has finished and the processing is closed.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Notifications&amp;#039;&amp;#039;&amp;#039; || A list of notifications sent when &amp;#039;&amp;#039;&amp;#039;any task&amp;#039;&amp;#039;&amp;#039; in this scenario fails.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Notify start&amp;#039;&amp;#039; and &amp;#039;&amp;#039;Notify finish&amp;#039;&amp;#039; each take one notification; the &amp;#039;&amp;#039;&amp;#039;Notifications&amp;#039;&amp;#039;&amp;#039; list takes any number. Add entries by typing into the &amp;#039;&amp;#039;&amp;#039;Add...&amp;#039;&amp;#039;&amp;#039; box and picking from the suggestions; remove them with the button beside each entry. Changes to this list apply immediately and are not part of Save.&lt;br /&gt;
&lt;br /&gt;
See [[edit-notification]].&lt;br /&gt;
&lt;br /&gt;
== Running a scenario manually ==&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;Run...&amp;#039;&amp;#039;&amp;#039; button starts the scenario on request, for a chosen date and iteration. It is disabled when the scenario contains no enabled task — the tooltip says so.&lt;br /&gt;
&lt;br /&gt;
This is the only way to start a scenario whose planning type is &amp;#039;&amp;#039;&amp;#039;Manual&amp;#039;&amp;#039;&amp;#039;. It also works for the other types, which is useful for a one-off run outside the normal trigger.&lt;br /&gt;
&lt;br /&gt;
== Practical notes ==&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Group related work into one scenario, unrelated work into separate ones.&amp;#039;&amp;#039;&amp;#039; Everything in a scenario shares a planning event, so unrelated tasks placed together are forced to wait for the same trigger.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Set validity dates rather than deleting.&amp;#039;&amp;#039;&amp;#039; A scenario that is finished with can be given an end date, preserving its history.&lt;br /&gt;
* Deleting a scenario is only possible when nothing references it — its groups must be removed first.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Scenario]]&lt;br /&gt;
* [[Planning]]&lt;br /&gt;
* [[edit-group]]&lt;br /&gt;
* [[Authoring items]]&lt;/div&gt;</summary>
		<author><name>Dafne</name></author>
		
	</entry>
</feed>