Fields and settings for tracking time in a task.
Timer - during startup, it is set for a certain time (5 minutes, 4 hours) and then shows the remaining time.
Stopwatch - during start, it is set to zero, and then it shows the elapsed time since the start.
Both types work in a similar way and are needed for a visual representation of the operating time.
Timers and stopwatch are controlled by the following commands:
START - starts a new countdown or starts a paused one.
PAUSE - pauses the countdown. The countdown will resume after the start action
STOP - stops the countdown. The time value after the stop is considered final. After this command, the countdown can only be restarted with the RESTART command
RESTART - restarts the count again. Depending on the settings, the old value will either be erased or archived.
Commands can be sent automatically (for example, when changing status), from api or manually.
Timer
Timer may be in the following states:
RUNNING - is running and there is a countdown.
PAUSE - the countdown has been suspended by the PAUSE command or the current calendar is not working hours.
FAILED - the countdown is stopped and the counted time has exceeded the originally set.
COMPLETED - the countdown is stopped and the timer has not reached zero.
Stopwatch
Stopwatch may be in the following states:
RUNNING - is running and there is a countdown.
PAUSE - the countdown has been suspended by the PAUSE command or the current calendar is not working hours.
STOP - Countdown stopped.