@@ -4,7 +4,7 @@ When designing a State Machine, you need to know the purpose. Each State Machine
...
@@ -4,7 +4,7 @@ When designing a State Machine, you need to know the purpose. Each State Machine
#### Manage users workflow
#### Manage users workflow
- When the element name of the State Machine similar to each other:
- When the element name of the State Machine similar to each other:
- Rename the state as past tense when it has the same name as event
- Rename the state as past tense when it has the same name as the event. However, try to avoid this because not all world languages have a past tense verb
- For the event name, the name must answer this question:
- For the event name, the name must answer this question:
1. What is the event? (Answer: _pay_)
1. What is the event? (Answer: _pay_)
2. How to trigger it? (Answer: _by clicking the button_ or _hit the enter key_)
2. How to trigger it? (Answer: _by clicking the button_ or _hit the enter key_)