You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Using the Designer, behavior of classes can be defined by modeling an UML activity diagram.

Adding an Activity Diagram

From the quick actions of a class, select to add an activity operation.

Enter a name for the operation and click Save.

Restrictions on Element Names

A BPMN model name must be unique within one service.

In addition, the following name restrictions apply to all service panel elements:

Element names...

  • ... must not be empty.
  • ... must not contain spaces. Exception: Spaces are allowed in operation names.
  • ... must not start with numbers.
  • ... must not end with a period (.).
  • ... must not contain one of the following characters: <, >, :, ", /, \, |, ?, *
  • Furthermore, the following strings must not be used as element names: CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, LPT9.

Alternatively, you can open the context menu of the class and select the option Add Operation.

The dialog Add Operation opens.

Select Activity Diagram from the drop-down list, enter a name for the operation and click Save.

The new operation has been added to the class. It opens automatically in a new Designer tab, and you can directly start modeling your activity.

Go to Working with the Activity Editor for detailed information.

Once the operation has been created, you can use the quick actions and the context menu to manage it.
You can:

  • add a parameter
    • in
    • out
    • return
  • open the implementation of the activity diagram
  • change the implementation from activity diagram to action script or mapping diagram
  • cut the operation
  • copy the operation
  • paste the operation (available if Copy or Cut option have been used before)
  • rename the operation
  • delete the operation

Refer to Implementation and Modeling Data Structures for more information on your options here.

Refer to Modeling Data Structures for more information on how to create classes and operations.

Overview on the Activity Diagram Editor

When you create a class operation that is implemented by an activity diagram, the activity diagram editor opens:

Use the various functionalities of the Activity Diagram Editor to model your activity:

NameDescription
1Diagram PaneThe diagram pane is where you model your activity diagram.
Go to Working with the Activity Editor for detailed information about the features of the activity diagram editor.
2Elements ToolbarThe elements toolbar contains all UML elements that you can create on the diagram pane.
Go to Working with the Activity Editor for further details about the usage of the toolbar.
In the PAS Designer Developer Guide > Supported UML Elements all UML elements are explained in detail.
3Model ToolbarThe model toolbar assists you during modeling on the diagram pane.
Go to page Working with the Activity Editor for an overview of the available options of the model toolbar.
4Designer Panels

In the activity diagram editor, the following panels assist you during modeling:

  • Service Panel: In the Service panel you can manage the contents of your whole service such as you BPMN and data model, forms and used libraries.
    Go to Service Panel and Working With Libraries for detailed information.
  • Attributes Panel: Use the Attributes panel to change the settings of the activity diagram elements and the diagram pane.
    Go to Changing the Attributes of Elements on the Activity Diagram for detailed information.
  • Validation Panel: The Validation panel supports you during modelling by displaying notes for invalid actions in your models or forms. It also gives advice on how to fix the errors.
    Go to Validating and Testing a Service
    for detailed information.
  • Overview Panel: In the Overview panel, your model and a blue frame are displayed, representing the content shown on the diagram pane. Use the panel to keep the overview of your BPMN model - and to navigate within.
    Go to Working with the Activity Editor for further information about the Overview panel.
  • No labels