5.3. Creating Data Object (Not Persistable)

  1. In the Project Authoring perspective, click New ItemData Object on the perspective menu. Enter the name and select the package (the name must be unique across the package, but it is possible to have two data object with the same name in two different packages). Uncheck the Persistable box to prevent the Data Object from being made persistable. Click Ok.
  2. Create fields of the data object:

    1. By clicking add field button in the main editor window, you can add a field to the object with the attributes Id, Label and Type. Required attributes are marked with *.

      • Id: field ID unique within the data object
      • Label: label to be used in the Fields panel (optional)
      • Type: data type of the field

        DataModelerNewField2 new
    2. Click the Create button (the new field is created and the New field window closes) or the Create and continue button (the new field is created and the New field window remains open, so it is possible to continue adding more fields).

    Attributes can be edited selecting the attribute and editing the fields using the general properties screen to the right.

Using a data object

To use a data object, make sure you import the data model into your resource. This is necessary even if the data model lives in the same Project as your resource (Business Process).