Creating specific views

As soon as process models become more complex, the reader is likely to get confused by the amount of information. The view functionality provides a possibility of hiding process parts and to control the information given to certain readers.

Typical examples for using specific views of diagrams are:

  • A process model contains functional activities as well as parts that are solely relevant for the technical realization of the process. The reader, however, has to focus on the functional parts.
  • A process model contains different variations of one process, but the reader is only supposed to see one variation.
  • A process model contains not only the ‘happy path’, the path a process would usually take, but also a number of exceptions. However, the reader only needs to see the ‘happy path’.

With the views functionality it is possible to create as many views as needed. The tools for creating, editing, removing and getting information about a view can be found by extending the attribute editor and scrolling to Views.

View settings are being adjusted for the selected elements.

View settings are being adjusted for the selected elements.

Here you can find an overview of all the existing views. Also, new views can be created here.

There are two possibilities of editing views: The views configuration is a special dialog to edit one view at a time, whereas it is possible to edit many views at a time in the Editor.

Creating a new view

New views are created from within the attribute editor. Extend it from the right border and scroll to Views.

If the Views are not extended, click the “+” symbol in front of it or the title itself:

Expand the 'Views' section in the attribute editor on the right.

Expand the ‘Views’ section in the attribute editor on the right.

Now you can see all existing views. To gain more space, collapse the other categories of the attribute editor, e.g. the Main Attributes, by clicking on its title or the minus-symbol.

Create a new view by clicking on Create new view or the button in front of it:

Create a new view.

Create a new view.

The view configuration opens:

The view configuration dialog provides a preview for the diagram and the view created.

The view configuration dialog provides a preview for the diagram and the view created.

The view configuration contains two previews: one showing the original diagram and the other one showing the result. The original view also provides the possibility of adding or removing certain elements from the resulting view.

Read more about how to edit a view at Editing a view using the views configuration.

Hint: Rendering the previews while opening the views configuration may take a while, especially when dealing with large diagrams.

Opening an existing view for editing

To open the views configuration for an existing view, click its name:

Select a view to open its view configuration dialog.

Select a view to open its view configuration dialog.

The views configuration opens:

Elements without a hook are not included in the view.

Elements without a hook are not included in the view.

Read more about how to edit a view at Editing a view using the views configuration.

Editing a view using the views configuration

The views configuration provides many tools to adapt a view to your requirements. It is possible to

  • Name and describe a view: Fill in the fields in the upper right corner
A name and a description can be added for each view.

A name and a description can be added for each view.

  • Show or hide an element: In the original view, every element has a checkbox attached to its upper right corner. An element is included in the current view if the checkbox is green and checked - a red, non-checked checkbox excludes an element from the view.
This element will be included in the view ...

This element will be included in the view...

... this won't.

... this won’t.

To in- or exclude it in/from the view, set or remove the hook from an element. The resulting preview on the right will refresh immediately.

  • Configure pools: Pools can be configured even further. Each pool has a text field attached to the middle of its bottom. A drop down list appears when clicking on it. Choose one of the four options:
    • Pool is opened: The pool and its content will be included in the view. However, it is still possible to define the view options for all its elements contained.
    • Pool collapsed: The pool is displayed as a “black box”, the process contained is not shown.
    • Only content: No roles that are defined by the pool and its lanes will be shown, but only the contained process including additional process participants. Also, message flows attached to the pool will be hidden.
    • Pool is hidden: Neither the pool nor its content will be included in the view. Also, message flows attached to the pool will be hidden.
  • Hide all elements of one type: To e.g. create a view without any IT-specific details, it is possible to hide all IT-systems. Also, comments, data objects and roles can be hidden. To hide one of these element groups, remove the hook in front of it at the top of the views configuration:
Exclude all IT-systems from the view by deselecting the option above the preview.

Exclude all IT-systems from the view by deselecting the option above the preview.

Dataobjects does not only include elements of the type dataobject, but also data storages and messages, whereas IT-Systems refers only to IT-Systems. If Roles is unchecked, pools, lanes, collapsed pools and additional process participants will not be shown.

In this case, all the hooks will be taken from IT-Systems in the original view and also the resulting preview will be refreshed.

example configuration with preview

example configuration with preview

After applying all changes required, click Save changes:

the 'Save changes'-button in the view configuration dialog

the ‘Save changes’-button in the view configuration dialog

Duplicating a view

Sometimes, two different views on a diagram are almost the same. In those cases, it is possible to use an existing view to create a similar, new one. Open the template view, apply the changes and click Save as duplicate... to create the new view.

'Save as duplicate'-button in the view configuration dialog.

the ‘Save as duplicate’-button in the view configuration dialog

Add a name for the view and click OK:

Enter a name for the copy.

Enter a name for the copy.

The duplicate will be created and can be found with the others in the attribute editor.

Removing a view

To remove an existing view, click its title in the attribute editor to open it in the views configuration. Then click the “Delete view button:

Delete a view.

Delete a view.

Confirm the following dialog box. The view will then be removed.

Editing views from within the Editor

It is possible to in- or exclude diagram elements from one or multiple views while editing a diagram without opening the views configuration. This makes it easy and fast to edit existing views.

  • Choose one or multiple elements.
Changes in the include option can be applied to single or multiple elements.

Changes in the include option can be applied to single or multiple elements.

  • Behind each view that is stored in the attribute editor. check boxes will appear. Those can be empty, checked or, if multiple elements were selected, colored green:
../../_images/views_green_en.png

Only some of the selected elements are included in the view, but not all.

../../_images/views_checked_en.png

Checked

All selected elements are included in the view.

../../_images/views_white_en.png

Empty

None of the selected elements is included in the view.

  • Check or uncheck the boxes, to add/remove the elements selected from one of the views.

Exporting views

You can download specific views by exporting a diagram as an image, PDG or a BPMN 2.0 XML file choosing a specific view in the process. The SGX export contains all views that were created for a diagram. If you would like to know more about exporting diagrams, please go to the chapter Downloading/exporting diagrams.