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

In Scheer PAS Designer you have two options to use data in your UML activity execution diagram:

  • Local data are only available for use within the current execution.
  • Persisted data are usable in all executions of the BPMN model.

On this page we explain how to persist data in the Designer and how to use the persited persisted data in your execution model.

How to Persist Data

If you want to persist the data of an objecta variable, you need to perform the following steps:

Drag a type from your library and drop it in section Persisted on the execution canvaspane.

Tip

For further information about objects variables on the execution canvas pane see page Adding Variables.

By default a persisted object variable gets assigned the name of its type.

Tip

You can change the name of persisted objects variables to one of your own choice by double-clicking the name. A list shows the names already in use.

Draw an object flow to assign a value to the persisted objectvariable.

Persisted

Object

Variable with Default Value

Image Modified

A persisted

object

variable can have a default value. If this is the case, you can find the field Default Value in the Attributes Panel.

Use the field if you want to change the initial value.

Image Modified

The default value can be changed for every deployed service because it is a setting on the BRIDGE.

Tip

See page xUML Service Settings in the BRIDGE User Guide to know more about xUML service settings in general and how you can change them.

Using Persisted Data

You can access all available persisted objects variables via section Persisted.

Click on the  icon to display the list of available persisted objectsvariables.

You can use the search to narrow down the content of the list.

Select the object variable you need to use.


Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNamepersisted_objectvariable_added
PageWithExcerptINTERNAL:_designer_excerpts

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNamesecond_persisted_objectvariable
PageWithExcerptINTERNAL:_designer_excerpts

Now you can connect the persisted object variable with the corresponding pin of the operation call.

This applies to input as well as to output pins.

Tip

Detailed information about the handling of pins can be found on page Adding Operation Calls.