Bonitasoft-Community / procurement-example

Official Procurement Living Application example for Bonita
GNU Lesser General Public License v3.0
11 stars 15 forks source link

Procurement Living Application

About

This is an official Living Application example for Bonita Community and Enterprise Editions. The latest release is built using Bonita 2021.1 and is compatible with any future releases of Bonita.

:information_source: If you are using an older version of Bonita, download the release corresponding to the version in question.

This example demonstrates the following concepts:

This example contains 3 process diagrams:

Procurement Request process - Diagram

Procurement Request process - Diagram

Installation

  1. Download the project .bos file
  2. Import the .bos file in your Bonita Studio. (Optional: configure Sharepoint and Azure parameter values or put "test")
  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 _Procurementapplication.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

:information_source: 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 - Fill request form

Procurement Request process - Fill request form

Procurement Request process - Review request form

Procurement Request process - Review request form