Specifying Data

Activities performed within the context of a business process may require data as their input or deliver data as output. This way activity manipulates workflow relevant data and transfers this data among them. The properties of these workflow data have to be defined in the model. The data value must be set before the activity is started at runtime. For more details on data, refer to the chapter Workflow Data Workflow Data of the Concepts handbook. Concepts Handbook in the Stardust Documentation.


Figure: Representations of Data in the My Process Models panel and Process Diagram Canvas

Pre-defined Data

Each model created under the My Process Models panel contains following pre-defined data under the Data node.

You can perform following operations on data.

Creating Data

You can create following types of data in the Business Process Modeling perspective.

To create any of these three listed data, perform the following steps:

  1. Expand the My Process Models panel displayed in the left pane of the Business Process Modeling perspective.
  2. Make sure that a model is created using the Create Model option
  3. Expand the created model
  4. Right-click the Data node and click the option of which you want to create data


    Figure: Create Primitive Data

Renaming Data

Perform the following steps, to rename the data.

  1. Under the Data node, right-click the data you want to rename and select Rename


    Figure: Rename Data

  2. Specify the new name for data

Rename can be performed in the My Process Models panel, property panel of the element, and by double-clicking element in the Process Diagram canvas.

Deleting Data

Perform the following steps, to delete the data.

  1. Under the Data node, right-click the data you want to delete and select Delete


    Figure: Delete Data

  2. Click Yes in the delete Confirm dialog box. The data gets deleted.


    Figure: Delete Data - Confirm Dialog Box

Using Data Flyout Menu

The data flyout menu is displayed when you hover the mouse in the proximity of the data.


Figure: Data - Flyout Menu

Following menu options are available in the data flyout menu.

Menu Icon Menu Option Description
Delete Deletes the data from the swim lanes.
Connect Starts a data flow with the data as the first anchor point.

Viewing and Editing Data Properties

You can define properties for following types of data.

Data Properties

To view and edit primitive data properties, perform the following steps:

  1. Create the data and select it in the swim lane. The properties window is displayed at the top-right corner of the swim lane.


    Figure: Data - Flyout Menu

  2. Specify the properties:

Opening the Data View

To open the Data View, click the Open Data View link on the right side of the panel.

Open the Data View
Figure: Open the Data View

The Data Property view opens.

Data Property View
Figure: Data Property View

Additional to the general properties, you have two tabs in the Data Property view, one for setting the data type and one for adding comments.

For structured types, a link to open the corresponding structured data type details view is provided. Click the blue arrow on the right side of the Structured Type field to open the structured data types detail view.

Open Structured Data Type details view
Figure: Opening the Structured Data Type details view

Comments

To add comments, either click the Comments icon displayed at the top-right side of the diagram canvas or use the Comments tab in the data property view, which you can open as described in the section above.

Add comment in the text box and click Submit. The newest comment gets displayed at the top of the table. To delete the comment, select the comment and click the Delete icon. The user, who has submitted the comment, only that user can delete the comment. If the other user selects the comment or no comment is selected, the Delete icon remains in disabled state.


Figure: Data - Comment

Working with Referenced Data

If the Public Visibility check box is selected in the data property panel, then it can be referenced in the Consumer model. To reference the data, drag and drop the data from the Provider model to the Consumer model. The data gets referenced and it is editable in the Consumer model.

Rename and Delete Operation on Referenced Data

The following message is displayed in the Process Diagram message area when a referenced data is clicked, and external referenced data is not found due to rename operation on it in the Provider model.


Figure: Referenced Data - Rename

If the referenced data is deleted from the Provider model, it is displayed as Undefined element wherever it is referenced in the Consumer model. In that case, the following message is displayed in the Process Diagram message area when a referenced data is clicked. You should delete that Undefined element since no reference to that data exist.


Figure: Referenced Data - Delete

For more information, please refer to the section Dragging and Dropping of Elements of the chapter Swim Lanes Usage.