The request
“Draw a UML state machine with idle, active, a guarded running or suspended choice, a nested running state with executing and waiting, and transitions for activation, resume, deactivation and termination.”
Then tryAdd a timeout from waiting to suspended.Change the guard condition to check a valid token.
More like this