Activity Checks

PowerDesigner provides default model checks to verify the validity of activities.

Check

Description and Correction

Activity name and code uniqueness

Activity names and codes must be unique in the namespace (model or package).

Manual correction: Modify the duplicate name/code

Automatic correction: Appends a number to the duplicate name/code

Input or Output transition missing

Each activity must have at least one input transition and at least one output transition.

Manual correction: Add a transition linked to the activity

Automatic correction: None

Composite activity does not have any start

A composite activity details the activity execution in a sub-activity diagram. To be complete, this sub-activity diagram requires a start connected to other activities, or requires a start at the beginning.

Manual correction: Add a start in the sub-activity diagram, or deselect the Composite check box in the activity property sheet

Automatic correction: None

Non-Reusable Activity Calls

Only activities with an action type of <undefined> or Reusable activity may be reused by other activities with action types of Call, Accept Call, or Reply Call.

Manual correction: Change the action type of the referenced activity, or remove any references to it.

Automatic correction: None