Task Termination (Magic xpa 4.x)
There are several ways to terminate the task execution, such as the end user leaves the task, the End task condition evaluates to True, or the Exit event is raised.
Before the task is terminated, the following happens:
-
The Task Suffix logic unit operations are executed.
-
I/O devices are closed. Note: This is only for tasks other than Rich Client.
-
The task's data sources are closed.
Note: The Task Suffix logic unit is executed after the termination of the Record Loop. Therefore, there are no data values that are reliable during this stage of execution.