Add a new class element to your package. (Choose “Class” as type.)
Add a state machine to your class.
Draw a simple state machine.
View the simulation add-in window (you can find it in the context menu).
Add a workflow to the simulation.
Start the workflow.
The Workflow will be finished after some seconds.
Congratulations! You have simulated your first state machine.