/procurement-example

Official Procurement Living Application example for Bonita

Primary LanguageJavaGNU Lesser General Public License v3.0LGPL-3.0

Procurement Living Application

About

This is an official Living Application example for Bonita 7. It is build using Bonita 7.9.3 and is compatible with any future releases of Bonita 7.

This example demonstrates the following concepts:

  • Living Application
  • Forms, pages and custom widgets built in the UI Designer
  • Process using BDM and contracts

Installation

  1. Download the project .bos file
  2. Import the .bos file in your Bonita Studio (it contains 3 processes: Procurement request, Init sample procurement data and Create supplier)
  3. Deploy all 3 processes: select the process in the project explorer, do a right click and select Deploy
  4. Run the sample data initialization process once and remove it from the Portal (using administration view)
  5. Deploy the two application pages: in the project explorer, select Pages/Forms/Layouts, select a page, do a right click and select Deploy. Do the same for the second page. You can read more about pages from the official documentation.
  6. Deploy the application: in the project explorer, select Application descriptors, select Procurement_application.xml, do a right click and select Deploy. You can read more about applications in the official documentation.
  7. Run the Procurement application by accessing to this URL (the port number may vary):
    http://localhost:8080/bonita/apps/procurement

Note: this simplified version of the Procurement Request process only uses one actor.
The same user can fill a procurement request and approve it himself.

Screenshots

Procurement Living Application

Procurement Living Application

Procurement Request process - Diagram

Procurement Request process - Diagram

Procurement Request process - Fill request form

Procurement Request process - Fill request form

Procurement Request process - Review request form

Procurement Request process - Review request form