Statecharts describe the behavior of an activity that is defined in an activity chart, and the two can be associated within the scope of the project itself.
To associate a statechart with a corresponding activity:
2. Using the Create Control Activity icon, draw a control activity and label it with the name of the corresponding statechart preceded by an at (@) sign. You might, for example, label it like the following:
3. Select File > Save, then File > Exit to write the association and quit the chart.