A state is one of several discrete individual stages that represent
a business transaction. An individual state begins with a waiting period during
which it listens to a particular set of events, and it finishes with a reaction
that is appropriate to the event that was received.
To add a state, proceed as follows:
- In the palette, click the state that you want to add to your state
machine.
- Drag the cursor out over the canvas. You will notice
that the icon beside your cursor has a plus symbol when you are at a place
where you are allowed to drop the state. When the cursor becomes a crossed
out circle, continue moving the cursor until it becomes a plus sign again.
- Click the area of the canvas where you want to drop the state.
Your newly created state will appear on the canvas.