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

  5. 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

  2. Figure: Rename Data

  3. 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

  2. Figure: Delete Data

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

  4. 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.

  2. Figure: Data - Flyout Menu

  3. Specify the properties:

Open Data View

If you click the link Open Data View, the property view of the data is displayed.

Data Property View
Figure: Data Property View

Comments

To add comments, click the Comments icon displayed at the top-right side of the diagram canvas. 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.