When the Scheduler recognizes that a task should be executed and capacity is available, it sets the task to be executed to "Calling". The Server starts the module and it sets the status to "Active". The module performs the task, then sets the transformation status to "Returning", wakes the Scheduler, and terminates. The Scheduler now takes over this task and, depending on the error code, records the status "Success" or "Error".
If a task is in "Error" status, an operator can set the task to "Finished" via the Skip Task command. Alternatively, the task can be set back to "Waiting" status in the GUI via the Restart Task command. Thus, the only final status is "Finished".
State Diagram Task Execution