Create Business Objects

The decision model visual designer has intuitive interface to create as many business objects as you need in the corresponding namespace. The business objects are a collection of attributes that represent input and/or output data required by the encapsulated decisions. Using these attributes, you can define business rules in your decision table.

Perform the following steps:

  1. Navigate to the project which includes your Decision Model and open the <decision model name>.dm file.
  2. Click Add Business Object and enter a name for the business object.
  3. Select Type of Business Object. You can set Database or Custom as business object type.
    • Select Database if you want to capture the input attributes from a database. Select Datasource, Table, and Columns. Each column is considered as an input attribute. Select the data type of each column that you selected. The supported data types are String, Number, Boolean, and Date. You can add as many columns as available in your database table.
    • Select Custom if you want to create custom attributes. Add a Name for each input attribute and select Datatype. The supported data types are String, Number, Boolean, and Date. You can add as many input attributes as you want to use in your rules.
  4. click SAVE.
  5. The Business Object is created and added to the Namespace within the current Decision Model. You can now prepare your decision table by specifying business objects add then add rules to your decision table. The decision table can include the business objects from the namespace created for the corresponding decision model only.