Activity diagrams are supported in Astah Professional, UML, SysML, and System Safety products.

Activity Diagram Sample

Partitions

In an Activity Diagram, you represent “who” is performing an action by using Partitions.

Adding Partitions

You can organize your diagram into horizontal or vertical partitions to clearly show the responsibilities of different actors or departments.

  1. Select [Vertical Partition] or [Horizontal Partition] from the tool palette.
  2. Click on the diagram to place it.
  3. Double-click the partition header to enter the name of the Actor or Role (e.g., “Customer,” “Admin,” or “System”).
  4. Drag and drop existing Actions into the partition, or create new Actions directly within it.

Linking Partitions to Model Elements (Represents)

If you have already defined Actors or Classes in your project, you can link a Partition to that specific element.

  1. Select the target Partition on the diagram.
  2. Go to the [Property View] (usually located in the bottom pane).
  3. In the [Base] tab, find the Represents field.
  4. Select the Actor or Class from the drop-down list or by clicking the […] button to browse your project tree.
    Partitions in Activity Diagrams
    • Note1: Linking to an element ensures that if you change the name of the Actor in the tree view, the Partition header will update automatically.
    • Note2: If you are using Astah SysML or Astah System Safety, you can directly drag and drop the model (Actor or Block) on to the Partitionsto set the Represent.
      Drag and Drop an Actor or Block to Partition

Initial Node

You can create an initial node by selecting it from the tool palette.
Initial Node in Activity Diagram

If you’d like to allow only one initial node in a diagram, go to [Tools] – [System Properties] – [UML] and enable the option below:
UML Activity Diagram Option
※ This option is not available in Astah SysML and Astah System Safety.


Action

You can create an action just by double-clicking on a diagram or any other ways that are described in the Diagram Editor page.

You can also insert an action by placing a new or existing action directly on the transition line.
Inserting Actions


Show Actions on the tree

By default, actions won’t appear on the Structure Tree. So in order to show them in the diagram, you need to change the setting from [Tools] – [System Properties] – [Project View].
Show Action on tree view in Astah

You can find this option from [Tools] – [System Properties] – [SysML] – [Project View] in Astah SysML and Astah System Safety.

Actions on tree

NOTE

You can show Actions in the tree view, however, you cannot drag it to diagram from the tree view.


Show Actions in icon

※This is available in Astah Professional and Astah System Safety only.

You are able to switch actions to any image files you upload to Astah.
BPMN-look-and-feel
(Diagram reference: Business Process Model and Notation, v2.0 by OMG | Figure 9.32)

  1. Create an activity diagram with actions.
    UML Activity Diagram Sample in Astah

  2. Select a root package in the tree view and open [Profile Stereotype] tab at the bottom pane, then click [Add] button.
    Profile Stereotype Menu

  3. Upload an image file, enter the stereotype you want this image to be associated with, and choose [Action] as a type.
    Adding Stereotype Icon

  4. Add a stereotype to an action.
    Adding stereotype

  5. Right-click the action and select [Icon Notation] – [Customized Icon].
    using a customized icon

  6. Then the action will be switched to an image.
    changing UML notation to your uploaded icon

    You can add as many icons as you need. Also, you can access the stereotype profile from [Tools] – [Project Settings] – [Set Icon for Stereotype].
    Add stereotype icons


    * Currently, you cannot embed an image inside the action.
    Adding images on UML Activity Diagram

    What you can do is drag & drop an image file to a diagram, select [Insert the image file] option and place it to where you want it to be.
    Inserting an uploaded image in Activity Diagram


Call Behavior Action

Call Behavior Action is a call action that invokes a behavior directly rather than invoking a behavioral feature that, in turn, results in the invocation of that behavior. The argument values of the action are available to the execution of the invoked behavior. The execution of the call behavior action waits until the execution of the invoked behavior completes and a result is returned on its output pin. In particular, the invoked behavior may be an activity.

How to create a Call Behavior Action

  1. Click on a “Call Behavior Action” on a toolbar and click a diagram.
    call bahavior action
  2. Double-click on a Call Behavior Action, then you will be asked if you’d like to create a new Activity diagram. Click [Yes].
    Creating UML Activity Diagram

If you already have an Activity diagram you’d want it to turn to Call Behavior Action

From the tree view, drag the Activity diagram to another opened Activity diagram to insert the Activity diagram as a call behavior action.
Adding call behavior action by dragging from tree to diagram

Or, you can select which Activity diagram to be associated with a call behavior action from the [Action] tab on its property view.
Choosing UML Activity Diagram


Eriksson-Penker Notation

You can use Eriksson-Penker notations in Activity diagrams in Astah Professional and UML Editions.

Eriksson-Penker Process Modeling

Process, Signal Receipt, Signal Sending

Create an Action, and adding <<process>>, <<signal receipt>> or <<signal sending>> stereotypes to the action will automatically change the notation.

Signal objects in UML Activity Diagram

This is available in Astah Professional and UML Editions only.

Information Class

  1. Create an ObjectNode.
  2. Add a Class with <<information>> stereotype as its base class to the Object Node.
    Information icon

  3. Select the ObjectNode and choose [Icon] from the top main menu.
    Choosing icons

  4. Then the ObjectNode will turn into the notation below.
    Information Class

We will be updating this page with more content soon!

We will be adding more contents soon!
Please let us know if you have any questions about Activity diagrams and if you’d like to know any TIPS about Activity diagrams!