Help data model

This panel displays the list of Business Objects that has been defined and deployed using Bonita Studio.

You can explore the data model (with a graphical view) using the graph icon in the header of this panel. It shows the relationships between business objects, and their attributes.

Use a Business Object

Drag and drop a Business Object in the whiteboard or create a new variable of type Business Data.

A configuration wizard appears: create a Business Data variable by providing information on how to retrieve elements of this Business Object.

Define how to retrieve Business Object

Select the query to retrieve Business Object. Queries can be a simple attribute query (ex: findByName) or an additional query such as a custom query.

A filter area is displayed, depending on your selection, you may have to enter one or several attribute values. You can use a variable to fill its value using interpolation syntax.

You can use Pagination section to define the number of elements you want by page (by default 10 elements) and the page number (by default first page - index 0). For example, you can bind a variable to get dynamic pagination: {{paginationVariable.pageNumber}}.

Use the generated user interface

If a Business Object has been dropped, a user interface is generated for you. You can either keep it as is, modify it, or remove it if it does not fit your needs.

Use your Business data

If you create your own user interface, bind your Business data variable on widget properties or use your variable in javascript expressions. Be careful, by default each business data variable is an array (even if only one result from query is returned).