Difference between revisions of "Start of Task Node"
(→Start of Task Node) |
(→Start of Task Node) |
||
Line 1: | Line 1: | ||
== Start of Task Node == | == Start of Task Node == | ||
− | This is used to indicate the first Node that should be executed in case of ambiguity. No Nodes can connect into a Start Node. | + | This is used to indicate the first Node that should be executed in case of ambiguity. No Nodes can connect into a Start Node. When executing a Start Node does nothing other than create a low priority log entry. |
+ | |||
+ | === Dis-ambiguity === | ||
+ | |||
+ | The main function of a Start Node, as well as providing people who view the Task with an idea of where it starts, is to tell Presence where to start running the Task. For example consider the following Task: | ||
+ | |||
+ | http://www.international-presence.com/wikidocs/images/eek_no_start_node.png | ||
+ | |||
+ | |||
+ | Should Presence run the XML Query first, or the SQL Query? It is unclear, and Presence may start with either Node. To avoid confusion, a well placed Start of Task Node will sort things out: | ||
+ | |||
+ | http://www.international-presence.com/wikidocs/images/task_with_start_node.png | ||
+ | |||
+ | |||
+ | |||
− | |||
Revision as of 14:53, 28 June 2010
Start of Task Node
This is used to indicate the first Node that should be executed in case of ambiguity. No Nodes can connect into a Start Node. When executing a Start Node does nothing other than create a low priority log entry.
Dis-ambiguity
The main function of a Start Node, as well as providing people who view the Task with an idea of where it starts, is to tell Presence where to start running the Task. For example consider the following Task:
http://www.international-presence.com/wikidocs/images/eek_no_start_node.png
Should Presence run the XML Query first, or the SQL Query? It is unclear, and Presence may start with either Node. To avoid confusion, a well placed Start of Task Node will sort things out:
http://www.international-presence.com/wikidocs/images/task_with_start_node.png
See Also
Task Elements > Flow Control Task Elements > Start of Task Node