Procurement Example

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: - Living Application - Forms, pages and custom widgets built in the UI Designer - Process using BDM and contracts - Variable initialization using BonitaUsers templates

This example contains 3 process diagrams:

  • Init sample procurement data: The purpose of this process is to create a bunch of suppliers. The process declares one business variable suppliers that is used to create a list of suppliers. Suppliers to create are defined in the business variable default value. Executing this process will create the suppliers. :warning: This process should not be executed twice to avoid suppliers duplication (The process instantiation form includes a warning message if suppliers already exists).
  • Procurement request: This is the main process diagram. A user fill a procurement request and identify potential suppliers. This request is sent to those suppliers for quotation. After completed, the quotations are sent back to the requestor for review and selection.
  • Create supplier: This additional process does not have any tasks. It is used to automatically create a new supplier based on the data provided by the user in the instantiation form.

Procurement Request process - Diagram

Procurement Request process - Diagram

Installation

  1. Download the project .bos file
  2. Import the .bos file in your Bonita Studio.
  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

: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

Category: 
Licence: 
LGPL v3

Downloads

Total downloads: 18 874
Version BonitaBPM Version Post date Download Link
2021.1-1.0 2021.1 2021-May-03 Download
20 downloads
Release note
7.9.3-1.5 7.x, 7.9.x 2019-Sep-19 Download
989 downloads
Release note
v1.3 for Bonita BPM 7.2 and onward 7.3.x, 7.2.x 2016-Apr-04 Download
7061 downloads
Release note
v1.2.1 for Bonita BPM 7.0.2 to 7.1.x 7.1.x, 7.0.x 2015-Oct-23 Download
3330 downloads
Release note
v1.2 for Bonita BPM 7.0.2 to 7.1.x 7.1.x, 7.0.x 2015-Sep-08 Download
2499 downloads
Release note
v1.1 for Bonita BPM 7.0.2 7.0.x 2015-Aug-21 Download
2294 downloads
Release note
v1.0 for Bonita BPM 7.0.0 7.0.x 2015-Jun-17 Download
2681 downloads
Release note
Downloads: 
375
Certification: 
Type: 
Notifications