Specifying Data

Activities performed within the context of a business process may require data as their input or deliver data as output. This way activities manipulate workflow relevant data and transfer these data among themselves. The properties of these workflow data have to be defined in the model. For more details on workflow data refer to Workflow Data.

This chapter explains how to work with workflow data in the Eclipse Modeler. For details on working with concrete data, please refer to Data Integration.


Figure: Representations of Data in the Outline View and Diagram of the Process Workbench

Creating Data

To create a data you can either:

Creating a Data Element
Figure: Creating a Data Element from the toolbar

Using Predefined Data

You can use one of the predefined data, which is displayed in the Outline view. Simply add it to the diagram via drag and drop.

Predefined Data
Figure: Predefined Data

Setting General Properties

Data elements have the following general properties:

Data Properties Dialog
Figure: Properties - General

Click the data type on the left pane of the properties dialog. There you can edit the data type specific properties. For a detailed discussion of the configuration of the Infinity Process Platform data types, see section Data Integration.

Data Properties Dialog
Figure: Data Properties Dialog

Simulation

In this section you can specify simulation configurations, as described detailed in the chapter Simulation Configurations of the Infinity Process Platform Simulation Guide.

Effort Planning

In this section you can set the following Process Effort properties:


Figure: Effort Planning Properties of an Data Element

Please refer to chapter Project Effort Calculation for detailed information on this functionality.

Marking Process Data as volatile

You can mark process data of type primitive, serializable, structured data and XML as volatile. Process data values of volatile process data are removed from the Audit Trail on process completion. In case of straight through processing (process execution in one transaction) volatile process data values are not stored at all in the database.

The data type section of each data properties dialog provides a check box to indicate if a data is volatile or not.

Marking Process Data as volatile
Figure: Marking Process Data as volatile

Note
It is not recommended to mark data that is used as descriptor as volatile!

Deleting Data

To delete a data, use the option Delete in the data's pop-up menu in a diagram or in the Outline view tree area.

To remove a data symbol from the diagram, choose the option Delete Symbol in the data's pop-up menu. After this operation the data and the data mappings between activities and the data will still be part of the model.

Working with Referenced Data

In case a provider-consumer relationship is established between two models, the data of the provider model can be referenced in the consumer model. To reference the data, perform the following steps:

  1. From the Outline View of the consumer model, drag the referenced data from the File Connection node

    Data Available for Reference
    Figure: Data Available for Reference

  2. Drop the referenced data to the diagram canvas
  3. Create data mapping for the activity

When you drag-and-drop the referenced data the reference is created and the referenced model data appears in the locally defined model data.

Data Available for Reference
Figure: Data Available for Reference

For more information, please refer to section Referencing Model Elements of chapter External Model Resources.

Note that if a data with an identical ID already exists in the consumer or referencing model you cannot refer the data of the provider or referenced model. Similarly, you cannot create a data in the consumer model, if the data with identical ID is in use as a reference from a provider model. In such a case, a model validation error is displayed.

For more information, please refer to section Consistency Checks of chapter Deploying a Workflow Model.