In Scheer PAS Designer you have two options to store incoming data in your execution diagram:

  • Store data to a Local variable.
    Contents of local variables are only available within the current execution.
  • Store data to a Persisted variable.
    Contents of persisted variables are available in all executions of the current BPMN model.

This page explains how to persist data in the Designer, and how to use the persisted data in an execution model.

How to Persist Data

If you want to persist the contents of a variable, you need to create a persisted variable, first.

Drag a type from your data model (stored in folder Implementation ), and drop it to section Persisted on the execution pane.

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

By default, the name of a persisted variable is derived from its type.

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

Draw an object flow to store something to the persisted variable. The types of the related objects must match, otherwise the Designer will show a validation error.

Persisted Variable with Default Value

A default value can be changed for every deployed service. Depending on your deployment target, you can change the value in the PAS Administration or in the integration component (Bridge).

Container Deployment

When the service has been deployed successfully, use icon Open Administration in the deployment controls to open the service details in the PAS Administration.

Go to section Configuration and use the filter to search for the value you want to change.

Please note:

  • Save is only enabled when changes have been made.
  • Clicking Save triggers a restart, changes in the Configuration section are directly applied to the service.

See page Adapting the Configuration of Containerized xUML Services in the Administration Guide to know more.

Integration (Bridge) Deployment

When the service has been deployed successfully, use icon Open Administration in the deployment controls to open the service in the integration component.

You can change the default values in the Settings tab.

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 variables via section Persisted.

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

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

Select the variable you need to use.

Once a variable is defined as to be persisted, it is available in all executions throughout the BPMN model.
If you drag out the same type again, a second persisted variable is created that is independent of the first. A consecutive number is appended to the name automatically as variable names must be unique.

Now, you can connect the persisted variable with e.g. a corresponding pin of an operation call. Refer to Adding Operation Calls for more information.


On this Page:
Related Documentation: