A JBoss BPM Suite demo project to highlight document management integration with a BPM workflow.
Java Batchfile Shell Visual Basic FreeMarker
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

JBoss BPM Suite Document Integration Demo

Project to automate the installation of this product with ECM (document integration with BPM) demo project. Demo is a telco story of customer working with process to activate her mobile service by downloading a service contract document, signing it (update), and uploading the results back into the process.

There are two options available to you for using this demo; local and containerized.

Option 1 - Install on your machine

  1. Download and unzip.

  2. Add product installer to installs directory.

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

  4. You have two options to run demo, using filesystem for document storage or CMIS interface over network:

    $ ./target/jboss-eap-6.4/bin/standalone.sh
    
    or 
    
    $ ./target/jboss-eap-6.4/bin/standalone.sh -Dorg.jbpm.ecm.storage.type=opencmis
    
  5. 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)
    

Option 2 - Generate containerized installation

The following steps can be used to configure and run the demo in a container

  1. Download and unzip.

  2. Add product installer to installs directory.

  3. Copy contents of support/docker directory to the project root.

  4. Build demo image

    docker build -t jbossdemocentral/bpms-ecm-demo .
    
  5. You can run demo using filesystem for document storage:

    docker run -it -p 8080:8080 -p 9990:9990 jbossdemocentral/bpms-ecm-demo
    
  6. Login to http://<DOCKER_HOST>:8080/business-central (u:erics / p:bpmsuite1!)

    - build & deploy mobile service activation process
    
    - start process, submit provided service agreement document from support/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 on filesystem in container using terminal used to launch container (/tmp/{date-time-stamp-dir}/mobile-service-agreement.txt).
    

Running demo

Two options to start BPM Suite server:

  1. Document management on local filesystem, found in /tmp/{timestamp-directories}/mobile-service-agreement.txt

  2. Claimed tasks that are not competed within a minute will be reassigned automatically back into the group for processing.

Sample mobile service agreement (unsigned) is located in support/mobile-service-agreement.txt, use this as initial upload document, then download and sign by adding your name, save it locally, and then upload it via the task form.

Supporting Articles

Released versions

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

  • v1.0 - JBoss BPM Suite 6.2.0-BZ-1299002 on JBoss EAP 6.4.4 and supporting document integration installed.

  • v0.9 - JBoss BPM Suite 6.2.0, JBoss EAP 6.4.4 and OSE aligned containerization.

  • v0.8 - JBoss BPM Suite 6.2.0, JBoss EAP 6.4.4 and supporting document integration installed, removed external CMIS example.

  • v0.7 - JBoss BPM Suite 6.2.0, JBoss EAP 6.4.4 and supporting document integration installed.

  • v0.6 - JBoss BPM Suite 6.1 with supporting document integration installed.

  • v0.5 - JBoss BPM Suite 6.0.3 with automated task reassignment.

  • v0.4 - JBoss BPM Suite 6.0.3 with optional containerized installation.

  • v0.3 - moved to JBoss Demo Central, with updated windows init.bat support.

  • v0.2 - JBoss BPM Suite 6.0.3 installer with supporting document integration installed.

  • v0.1 - JBoss BPM Suite 6.0.2 installer used, with supporting document integration installed.

Process

BPM Suite