UML Modeling Techniques > Dynamic modeling > State diagram items > Creating a doActivity on a state
Creating a doActivity on a state
1. On the State Diagram tab, click the appropriate doActivity button:
Activity - to perform an Activity.
Operation - to perform an Operation.
State Machine - to perform a State Machine.
2. On a State Diagram, click the Atomic State, Sequential State or Concurrent State for which you want to create the doActivity.
Alternatively:
1. In a Modeler browser, locate the Activity, Operation or State Machine that you want to use as a doActivity.
2. On a State Diagram, locate the Atomic State, Sequential State or Concurrent State on which you want to create the doActivity.
3. From the Modeler browser, drag the Activity, Operation or State Machine you want to use to the Atomic State, Sequential State or Concurrent State on which you want to create the doActivity.
Note that you remove doActivities through the items tab of the State's Property Pages.