Skip to content

A baggage delivery service using BPM. A business friendly demo using form modeler, bpm process, decisions table web, spreadsheet, dsl and bam.

Notifications You must be signed in to change notification settings

jbossdemocentral/bpms-baggage-delivery-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JBoss BPM Suite Baggage Delivery Demo

A baggage delivery service using BPM. A business friendly demo using form modeler, bpm process, decisions table web, spreadsheet, dsl and bam.

There are three options available to you for using this demo; local or containerized.

Option 1 - Install on your machine

  1. Download and unzip.

  2. Add products to installs directory. For example download and add BPMS installer jar into the installs directory.

  3. Run 'init.sh' or 'init.bat' file. 'init.bat' must be run with Administrative privileges.

  4. Start JBoss BPMS Server by running 'standalone.sh' or 'standalone.bat' in the /target/jboss-eap-6.4/bin directory.

  5. Login to http://localhost:8080/business-central

     - login for admin and other roles (u:erics / p:bpmsuite1!)
    

Option 2 - Install on OpenShift

Running this demo in a container on any OpenShift Container Platform is available at Red Hat Demo Central.

Running the demo

Build the project then kick off the process. An initial form will show for first name, last name, flyer status {None, Bronze, Silver, Gold}, Country Code, Zip if in US and number of bags lost.

If in US, will pass in zip code to zip code web service. Only the following zip codes will return states. Any other zip will return Texas.

  //Park Ridge, IL
	zipCodes.put("60068", "IL");
	
	//Honolulu, HI
	zipCodes.put("96801", "HI");
	
	//New York, NY
	zipCodes.put("10001", "NY");
	
	//Bethel, AK
	zipCodes.put("99559", "AK");

After zip code service is called, the state field on passenger is used in web decision table to determine the cost of shipping. Next, a DSL is used to figure out a surcharge for AK and HI.

If not in US, county code is looked up in spreadsheet decision table and sets shipping and surcharge.

Finally, DSL is used to apply a promotion of free shipping and surcharge if passenger is of status Gold. You are then shown the route the process took and the variables to confirm shipping and surcharges are correct.

See support directory for included spreadsheet decision table ( NonUSShippingCost.xls) and docs directory for an overview presentation of the project.

Supporting Articles

Released versions

See the tagged releases for the following versions of the product:

  • v1.6 - Updated to JBoss BPM Suite 6.4.0, JBoss EAP 7.0.0, baggage delivery demo installed locally or on any OpenShift installation.

  • v1.5 - JBoss BPM Suite 6.2.0-BZ-1299002 on JBoss EAP 6.4.4 and baggage delivery demo installed.

  • v1.4 - JBoss BPM Suite 6.2.0, JBoss EAP 6.4.4 and OSE aligned containerization.

  • v1.3 - JBoss BPM Suite 6.2.0, JBoss EAP 6.4.4 and baggage delivery demo installed.

  • v1.2 - JBoss BPM Suite 6.1 and baggage delivery demo installed.

  • v1.1 - JBoss BPM Suite 6.0.3 and baggage delivery demo installed with optional generation of containerized installation.

  • v1.0 - JBoss BPM Suite 6.0.3 and baggage delivery demo installed.

Baggage Process

Lost Form

About

A baggage delivery service using BPM. A business friendly demo using form modeler, bpm process, decisions table web, spreadsheet, dsl and bam.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •