Last active
September 22, 2016 19:38
-
-
Save kovax/f5a862d0bb01c192a6c34f0259f3b469 to your computer and use it in GitHub Desktop.
The StateMachine specification usable with the https://github.com/cristal-ise/trigger project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@startuml | |
[*] -> Waiting | |
Waiting --> Started: Start | |
Started --> Suspended : Suspend | |
Suspended --> Started : Resume | |
Waiting --> Finished : Done | |
Started --> Finished : Complete | |
Finished --> Finished : Proceed | |
Started --> Started : Warning | |
Started --> Paused : Timeout | |
Paused --> Started : Resolved | |
Paused --> Finished : Interrupted | |
note as N1 | |
List of Transition can have Outcome | |
- Done | |
- Complete | |
- Suspend | |
- Warning | |
- Timeout | |
Resume may be performed by any Admin role | |
but it preservers Agent reservation. | |
end note | |
@enduml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment