Partitions

Partitions represent the structure that is responsible for performing the actions allocated to it.

Context

When describing an activity, you can include the actors (see Actors) or blocks (see Blocks) that are responsible for the activity’s actions by associating them to partitions.

When you need to group multiple partitions together, create a larger partition that sets the boundaries for all actions, then have the smaller partitions aligned next to each other inside it, each containing a set of actions they are responsible for.

In this example, the Manage Leave Application activity involves the Employee partition, Leave System partition, and Manager partition, which are grouped by the A Company partition.

Procedure

  1. To create a partition, select the Partition tool in your toolbox and drop it onto your diagram. Specify a name for it as appropriate.
    Alternatively, choose the Reuse Model Objects tool in the toolbox, drag an actor, a block, or a part from the objects list and drop it onto your diagram as a partition on the activity diagram. The original object is specified in the new partition's property sheet Info tab General category.

    The following properties are available on the Info tab in the General category:

    Property

    Description

    Name/Code/Comment

    Identify the object. The name should clearly convey the object's purpose to non-technical users, while the code, which is used for generating code or scripts, may be abbreviated, and should not normally include spaces. You can optionally add a comment to provide more detailed information about the object. By default the code is synchronized with the name. To decouple name-code synchronization, enter a new code in the Code field.

    Linked Object

    Specifies the actor, block, or part that is associated with the partition. If the partition is created from an actor, block, or part in your model, the original object is specified here.

    The other tabs such as Dependencies and Diagrams contain additional properties information. For details, see Object Properties.
  2. [optional] To create and group multiple partitions inside the partition, select it to display its context menu, and click the Partition tool. Specify a name for the each new sub-partition.
    Alternatively, if the partition is associated with a block (or a part) that has child parts, choose the partition in the diagram and select the Display All Parts tool in its context menu to create sub-partitions.
  3. Create the relevant actions and other nodes inside the partitions and connect them with flows as appropriate. You can also drag existing symbols into the partitions.