Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space WDESIGNER and version 1.1.0_uml

Adding

Objects

Variables to the Execution

Canvas

Pane

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameexecution_preliminaries
DisableCachingtrue
PageWithExcerptINTERNAL:_designer_excerpts

Select BPMN Element

To add an any execution object, you must first select the element on the BPMN canvas to which you want to add the objectexecution.

The related execution part will be displayed in the execution canvas. As no execution has been implemented yet, the panel shows an empty UML diagram.

If the selected BPMN element is a Message Start Event, the execution canvas pane also shows section Message with an incoming variable message object of type Any.

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameinfo_message_section
DisableCachingtrue
PageWithExcerptINTERNAL:_designer_excerpts

If you have selected the outgoing relation of an Exclusive Gateway, section Return is displayed, containing the unchangeable object variable return of type Boolean.

Select Type

Now go to the Library panel and expand the library you want to use.

Tip

Page Library Panel contains further details about the panel contents. On page Libraries Administration is explained how to upload a library to the Designer.

Anchor
base_types
base_types

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNamebridge_base
DisableCachingtrue
PageWithExcerptINTERNAL:_designer_excerpts

Drag to Execution

Canvas

Pane

Adding objects variables to the execution canvas pane is simple:

  • Select the necessary data type from your library.
  • Drag it from the library panel and drop it on the execution canvaspane.

There are different targets to drop an object element to:

You can cancel the operation by pressing Esc or dropping the element outside the execution canvaspane

Anchor
new_objectvariable
new_objectvariable

Adding a New

Object

Variable

You can add a new object variable by dropping it in section Persisted or Local.

Info

You can drag the following library contents to the canvaspane:

  • Class
  • Interface
  • Parameter

This applies to objects variables from your own customized libraries as well as to the Bridge base types.

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNamepersisted
DisableCachingtrue
PageWithExcerptINTERNAL:_designer_excerpts

Tip

See page Persisting Data for further informationsinformation.

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNamelocal
DisableCachingtrue
PageWithExcerptINTERNAL:_designer_excerpts

Anchor
change_type
change_type

Adding Multiplicity

Image Added

Once you have dragged a variable to the execution pane, you can add multiplicity.

Open the attributes panel for the variable in question.

Here you will find the attribute Array. To add multiplicity, activate the checkbox.

Image Added

If the checkbox is activated, the variable has the multiplicity 0..* and the element on the pane is extended by a pair of square brackets:

Image Added

Changing the

Object

Type

You can change the type of any object variable if you drag a type from your library and drop it on the object variable itself.

Example:
As per default, the incoming message has type Any. To gain access to the data you want to use, you need to apply the correct type from your library - which is WebShopOrder.

After you have dropped the type on the objectvariable, it has changed its type.

Example:
The selected type WebShopOrder is applied to the incoming message.

Tip
titleExpert Tipp

Use simple type Any from library Bridge Base to change the message type back to its default.

Object message cannot be of simple type. If you try to drop a simple type other than default type Any on the message element, a red frame indicates that this is prohibited.

Changing the Section

It is also possible to change the section for an objecta variable. You can drag & drop objectsvariables:

  • From Local to Persisted
  • From Persisted to Local
  • From Message to Persisted or Local

  • Local to Persisted: The local object variable is removed, a new persisted object variable with the same name is created. If the name is already in use, a suffix is added. Existing relations are reattached to the new objectvariable.

  • Persisted to Local: The persisted object variable is removed and a new local object variable with the same name is created. If the name is already in use, a suffix is added. Existing relations are reattached to the new objectvariable.

  • Message to Persisted or Local: A new object variable is created in the corresponding area. Its name is the same as if a new object variable of the same type as the message was created. A relation is drawn from message to the new objectvariable.

Special Case: Adding Persisted

Objects

Variables

Tip

For detailed information see page Persisting Data.

If you add objects variables to section Persisted, they are usable in all executions of the BPMN model.

To use a persisted objectvariable, click the icon to open the list of available persisted objects variables and select the object variable you want to use.

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNamepersisted_objectvariable_added
PageWithExcerptINTERNAL:_designer_excerpts


Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNamesecond_persisted_objectvariable
PageWithExcerptINTERNAL:_designer_excerpts