Difference between revisions of "End of Task"

From PresenceWiki
Jump to: navigation, search
(End Of Task Node)
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
 
In addition to being a human-friendly visual clue, the End Of Task Node tells Presence the last Node that should be executed, in case of multiple execution paths. For instance, consider the following Task structure:
 
In addition to being a human-friendly visual clue, the End Of Task Node tells Presence the last Node that should be executed, in case of multiple execution paths. For instance, consider the following Task structure:
  
http://www.international-presence.com/wikidocs/images/end_of_task_demo.png
+
[[file:end_of_task_demo.png]]
  
 
Without the End Of Task Node, this Task would run the Path labelled "1" first, and then "2" second - see [[Execution Paths]]. However, with the addition of the End of Task Node, Presence will instead run Path 2 first and Path 1 second (always executing the Path with an End of Task Node last).
 
Without the End Of Task Node, this Task would run the Path labelled "1" first, and then "2" second - see [[Execution Paths]]. However, with the addition of the End of Task Node, Presence will instead run Path 2 first and Path 1 second (always executing the Path with an End of Task Node last).
 +
 +
However the main purpose of the End of Task Node is to provide a visual sign that this is where the Task finishes.
  
  

Latest revision as of 07:47, 20 August 2015

End Of Task Node

In addition to being a human-friendly visual clue, the End Of Task Node tells Presence the last Node that should be executed, in case of multiple execution paths. For instance, consider the following Task structure:

End of task demo.png

Without the End Of Task Node, this Task would run the Path labelled "1" first, and then "2" second - see Execution Paths. However, with the addition of the End of Task Node, Presence will instead run Path 2 first and Path 1 second (always executing the Path with an End of Task Node last).

However the main purpose of the End of Task Node is to provide a visual sign that this is where the Task finishes.


See Also

Task Elements > Flow Control Task Elements > End of Task

Schedule Nodes | Decision Point Nodes | Start of Task | End of Task | Error Handler
Throw Exception | Passive Node | Log Entry | Sleep For n Seconds | While Node | Loop Node | Exit Loop Node | |Switch Node
Fork Execution | Join Forked Threads | Start Synch Block | End Synch Block | Event Notification Nodes



Task Elements | Resources