Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Changes
Page history
Updated Convention Guide (markdown)
authored
May 29, 2019
by
Fahmi Akbar Wildana
Show whitespace changes
Inline
Side-by-side
Convention-Guide.md
View page @
592c5199
When designing a State Machine, you need to know the purpose. Each State Machine has slightly different convention.
When designing a State Machine, you need to know the purpose. Each State Machine has
a
slightly different convention.
## State Machine for...
#### Manage users workflow
For the event name, the event must answer this question:
1.
What is the event? (Ans: pay)
2.
How to trigger it? (Ans: by clicking the button or hit enter key)
1.
What is the event? (Ans
wer
:
_
pay
_
)
2.
How to trigger it? (Ans
wer
:
_
by clicking the button
_
or
_
hit
the
enter key
_
)
#### Manage system process
...
...
...
...
...