Try OpenEdge Now
skip to main content
User's Guide
Managing business objects : Using the Business Object Manager
 

Using the Business Object Manager

You can use the Business Object Manager tool to create and maintain business objects in the Process Repository. The stored objects can be persisted internally and externally.
To create and manage a business object:
1. Open a Process Model or Web application in Process Modeler.
2. From the Tools menu, click Business Objects to open the Business Object Manager dialog box, which displays the list of default business objects with category, "demo."
Note: To modify an existing business object, select it from the Business Object Manager dialog box, then click Edit to make the changes in the Edit Business Object dialog box.
3. To create a new business object, click New to open the Create New Business Object dialog box.
4. Type the name of the business object in the Name box and select a category from the Category drop-down list. To define a category, click the ellipsis button beside the Category list, to open the New Category dialog box, where you can define a new category.
5. In the Data Source Reference box, enter the description of the datasource (if any) being referenced. In the Description box, enter a description of the business object. This information is optional and help users identify business objects.
6. To define attributes for the business object, click Add to open the New Attribute dialog box.
a. Define the attribute properties by entering appropriate information in the available field components.
Table 60 describes each of the business object attributes.
Table 60. Defining business object attributes
Property
Description
Name
The name of the attribute. Attribute name must not contain any special characters, and can have up to 64 characters. You need to precede any upper-case character with at least two lower-case characters.
Type
The type of attribute. Options include CHARACTER, INT64, INTEGER, DECIMAL, LOGICAL, DATETIME-TZ, Java datatypes, and any business object that you have previously defined.
Note: Business Process Modeler does not support business objects with circular reference. For example, if a business object, "bo1" contains the business object, "bo2" as an attribute, then "bo2" cannot contain "bo1" as an attribute.
Size
The size of the attribute. You can modify the size only for String type.
Default value
Enter (or modify) the default value for the attribute, if required. The default values are 0 (for Long), 0.0 (for Double and BigDecimal), false (for Boolean), and current date (for TimeStamp). To change the current date for Timestamp, click the Open Time Chooser () icon.
Primary Key
Select this checkbox to make this attribute the primary key. Only one attribute can be assigned as the primary key.
Read Only
Select this checkbox to make this attribute read-only.
Mandatory
Select this checkbox to make this attribute mandatory (or required).
Collection
If you select an existing business object as the attribute type and select the Collection check box, then you can retrieve multiple records from the selected business object, which is displayed as a line in a multi-line table. For example, if you create a attribute called Addresses and select a business object for "Employee Records," you can display the "Employee Records" attribute data. This data is then displayed in Business Process Portal as a table.
Description
Description of the attribute. This is optional.
b. Click OK to add the attribute to the Attributes list in the Create New Business Object dialog box.
7. After you have added all the required attributes, click OK.
The new business object is added to the list in the Business Object Manager dialog box.
* Importing business objects
* Exporting a business object