Eric D. Schabell: JBoss BPM Baggage Delivery Helping Travelers with Lost Bags

Monday, March 2, 2015

JBoss BPM Baggage Delivery Helping Travelers with Lost Bags

Today we launch a brand new Red Hat JBoss BPM Suite demo project called JBoss BPM Baggage Delivery.

Anyone who has travel with airlines has at one point or another arrived at a destination only to discover that their bags did not.

We shamble over to the lost luggage counter, fill out forms, supply our address, describe the bags lost and head homeward empty handed.

Hopefully within a day or two the airline will find the missing bags and deliver them to the address supplied.

In this demo we capture this experience and solve some of the (fictitious) problems in rules, tasks and process with JBoss BPM Suite.

The goal of this demo was to showcase some of the features of the product:

  • integration of rules in a process
  • integration of a decision table in a process
  • integration of an external spreadsheet (containing rules) in a process
  • integration of a web service in a process
JBoss BPM Baggage Delivery process
The JBoss BPM Baggage Delivery project is quite easy to get up and running, just a few steps and off you go.

 Install on your machine

  1. Add products to installs directory. For example download and add BPMS installer jar into the installs directory.
  2. Run '' or 'init.bat' file. 'init.bat' must be run with Administrative privileges.
  3. Start JBoss BPMS Server by running '' or 'standalone.bat' in the /target/jboss-eap-6.1/bin directory.
  4.  - login for admin and other roles (u:erics / p:bpmsuite1!)

If you prefer you can also setup in the cloud on any OpenShift Container Platform, all options are detailed in the projects readme file.

The project simulates a traveler submitting their name, frequent flyer status, and shipping information in the short form of just your Country and zipcode if you providing the USA as your home.

Filling out the form.
The submission form provides textual help to give you zipcodes that the lookup service in the process uses to discover your home state if country provides was the USA.

Rules are used to determine if there is a surcharge (we dreamed that up for you) to have your bags delivered to remote locations like Hawaii and Alaska.

If you are not in the USA, then there is a path take to check the surcharge on the external spreadsheet based decision table, which you can verify in the spreadsheet provided.

Your exact address is leveraged from the fact that you are a frequent flyer and if you have gold status or above you never have surcharges on baggage delivery.

We hope you enjoy this extension to our travel theme projects.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.