Thursday, July 24, 2014

Lightning brings Red Hat JBoss BPM Suite ECM telco CMIS integration demo

The trip was long, the location remote, the weather sometime severe, but it all gave birth to a fascinating integration between JBoss BPM Suite and enterprise content management (ECM) based on the open standard CMIS.

Last week in Krakow, Poland there was the meeting of minds that spun together the demo you see before you. A process that ties together BPM and document management with the CMIS standard using the Apache Chemistry as implementation in our solution.

Brainstorming BPM & ECM demo
While working on this project a rather intense summer thunderstorm rolled over Krakow. We were working near a window on the street side of the building and directly across the street a large oak tree was struck by lightning, blowing pieces of tree against the side of our building.

Thus was this project born, of lighting and thunder like no other.

Background

For some time there has been interest in tying together document management with our BPM processes, but how would this look? By taking an open approach we ended up in the realm of the Content Management Interoperability Standard (CMIS) which is supported by such ECM vendors as Alfresco, Mangolia, Exo, Documentum, IBM, Microsoft SharePoint, SAP, Apache and many others.

An initial structure and article was put together by Maciej Swiderski, engineer at Red Hat and working on the jBPM community project. This put a plan in motion that brought us together in Krakow last week to brainstorm and create a working process solution that would demonstrate simply the possibilities of document management in your workflows.
Lightning split tree

Telco process

The resulting process project is one that a customer who want to activate their new mobile service agreement would use to submit a request to the telco provider to turn on their mobile services. Before that can happen, the customer would need to both agree to the terms & conditions of the service offered, and sign a service agreement (contract).

Dear Sirs,

Please activate my mobile service today.

Signed,

---------------------------

This document that needs to be signed by the customer will be provided to the customer in a task form for downloading where they would then need only to sign their name and then upload the signed version to complete the process.

Dear Sirs,

Please activate my mobile service today.

Signed,

Eric D. Schabell (signed)
---------------------------

Installing and running

The following steps will get you up and running in a matter of minutes with this fully automated and repeatable JBoss BPM Suite document integration demo:
  1. Add product installer to installs directory.
  2. Run 'init.sh' or 'init.bat' file to install demo.
  3. You have two options to run demo, using file system for document storage or CMIS interface over network:
    $ ./target/jboss-eap-6.1/bin/standalone.sh
    
    or 
    
    $ ./target/jboss-eap-6.1/bin/standalone.sh -Dorg.jbpm.ecm.storage.type=opencmis
    
  4. Login to http://localhost:8080/business-central (u:erics / p:bpmsuite1!)
    - build & deploy mobile service activation process
    
    - start process, submit provided service agreement document from suport/mobile-service-agreement.txt
    
    - at user task, form presented that allows user to download service agreement, edit & sign agreement, upload signed document to
     complet task.
    
    - view document stored either on filesystem (/tmp/{date-time-stamp-dir}/mobile-service-agreement.txt) or on CMIS online storage
     at http://tinyurl.com/cmis-demo  (login: admin/admin)
    
Enjoy the demo!