Calculation Tickets
A calculation ticket contains information about a calculation requested by the user. They were designed for Echo to improve user experience during the calculation process, to give more transparency regarding calculation progress and to give more control to the users.
Ticket Lifecycle
A ticket can assume different states. Its life cycle is shown in the diagram below. Orange boxes correspond to actions that the user has to manually request. Blue boxes correspond to actions that are automatically carried out by the system.
The detail view of actions, and the status of the ticket after the action is performed is detailed as follow:
-
Create and Run: A user creates a ticket and requests a calculation. Echo starts the calculation straight away, and the status of the ticket is set to pending
-
Start: As soon as there is capacity available, the calculation starts. The status of the ticket changes to running
-
Finish: When all the calculations have finished for the ticket, the status will be set as success (finished)
-
Fail: If the calculation cannot be completed, the status of the ticket is set to failed
-
Stop: While the ticket is pending or running, the user can stop the ticket, and its calculations. This action will move the ticket status back to open
-
Run: An open ticket, for example one that was stopped or reopened, can be run again. The status of the ticket is set to pending
-
Close: A user closes an open ticket, as they do not need to run the calculation anymore. The status of the ticket is set to closed
-
Reopen: If a ticket has a status of closed and it has not been deleted yet, the user can reopen the ticket. This action sets the status of the ticket as open
-
Delete: If a ticket has been closed for a certain period of time, the system deletes it automatically, the ticket is removed from the system