Book Image

Bonita Open Solution 5.x Essentials

By : Rohit Bhat
Book Image

Bonita Open Solution 5.x Essentials

By: Rohit Bhat

Overview of this book

Creating delightful web-based applications backed by complex business logic and intricate workflows is just one of the many things you can easily achieve by leveraging Bonita Open Solution. It is a highly customizable and efficient tool for business process modeling. Bonita Open Solution is a one-stop solution for developing scalable applications with a nifty user management system and easy deployment. This pragmatic, hands-on guide to developing complex applications is packed with succinct tips and demonstrations of the various aspects of Bonita Open Solution. This book will show you how to make the best use of the Bonita BPM tool, leverage its powerful backend engine, and design business application workflows with ease. By the end of this book, you will be able to develop a complete business process application. Right from designing web forms to integrating business logic to finally deploying the application on a server, this book takes you through the entire development cycle of an application created using Bonita Open Solution. You will learn about modeling business processes in Bonita, creating customizable web forms, and using connectors, contingencies, and transitions to move forward in the workflow. It also highlights the various page flows available, as well as the ease of use of the drag-and-drop, widget-based modular design of Bonita Studio. After developing the application, you will also learn about the various options for deployment, and the different environments on which it can be deployed.
Table of Contents (15 chapters)
Bonita Open Solution 5.x Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Finalizing the web form data


We have seen how the connectors work in Bonita. Now we need to edit certain fields in the forms that we had left empty before as we didn't have the data with us. Now, as we have learned how to use connectors, we have all the necessary data. Let us finalize these forms now.

We have obtained the data from the database connector and saved it in the rowSet variable. Now, we need to populate the fields of the ChooseFlight form using this data.

Open the ChooseFlight web form and populate each field as follows:

  • The Image widget: The label of this widget should contain the name of the airline. Hence, click on Edit expression... for the label and enter the following:

    rowSet.toList(3).get(0);

    rowSet contains the result set of the SQL query. Hence, we extract the third column of the result set, which is the airline name according to the SQL query that we have written. This will give a list of all the airline names that match the SQL query. Out of this list, we extract the first...