How to Add a Business Object

Modeling Business Objects 13-9

13.5.1 Supported Data Types for Business Object Attributes

The following table describes the supported data types for an attribute in a business object:

13.5.2 Naming Conventions for Business Object Attributes

When you name a attribute of a business object you should respect the following rules: ■ Use one or more nouns, or nouns modified by adjectives ■ Use capital letters only to distinguish internal words ■ Keep names simple and descriptive ■ Use whole words, avoid using acronyms unless they are widely known ■ Do not start the name with symbols ■ Use short but meaningful names ■ Avoid using one-character names

13.6 Working with Business Object Attributes

To model a business object you must add it attributes. These attributes store the data related to your process. You can add, modify and delete attributes as necessary. You can also add them documentation that describes the data they store and provides any necessary information to the user of the business object.

13.6.1 How to Add a Business Object Attribute

To model a business object that you created from the start, you must add attributes. To add an attribute to an existing business object: 1. In the BPM Project Navigator Right-click the business object where you want to add the attribute. Data Type Description Bool True or false values Int Integer numbers Decimal Decimal numbers with defined precision Real Real numbers String Alphanumeric values Time Units of time Interval Intervals of time Binary Binary values For example: images, files Array A collection of elements of a specified data type Complex Types Other business objects Note: Studio forces the first letter of the name of an attribute to lowercase. 13-10 Modeling and Implementation Guide for Oracle Business Process Management

2. Select New and then select Attribute.

3. Enter a name to identify the new attribute.

4. From the type list, select a type for the new attribute, or click the Browse More

Types... button to select a complex type.

5. Click OK.

13.6.2 How to Delete a Business Object Attribute

To delete an attribute from an existing BPM Object: 1. Edit the Business Object that contains the attribute you want to remove.

2. In the Attributes section, click the Remove Attribute button next to the attribute

you want to remove. A confirmation message appears.

3. Click OK.

13.6.3 How to Document a Business Object Attribute

You can add documentation to a business object attribute for other process developers to understand its functionality. To document a business object Attribute: 1. Edit the business object that contains the attribute you want document. 2. In the Attributes section, expand the business object attribute you want to document. 3. Click the Edit... button next to the Documentation field. The Documentation Dialog appears. 4. Add the text to document the functionality of the selected attribute. See Section 5.4.1, Introduction to the Documentation Editor , for details on how to create and edit documentation.

13.6.4 What Happens When You Document a Business Object Attribute

The documentation is available for other process developers to read and modify Note: Another alternative for the previous steps is editing the business object and clicking the Add button in the Attributes section.