Coder Social home page Coder Social logo

sunil-samuel / bpmn-brms-subprocess Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 55 KB

An example of how to use a BPMN process defined within another KJAR within a different KJAR process.

Java 43.03% HTML 56.97%
bpmn brms drools drools-example kie kie-server drools7

bpmn-brms-subprocess's Introduction

Sunil Samuel
[email protected]
http://www.sunilsamuel.com

BPMN Subprocess

Overview

Just a sample application using Drools (BRMS) and BPMN. The objective is to show the following:

  1. Create two KJARs with Self-Contained BPMN Process.
  2. Import KJAR as Depenency to Another KJAR.
  3. Use Imported BPMN Process as Sub-Process Task.

The idea is to show to to use a complete separate BPMN process within another BPMN process as a sub-process task (Reusable Process).

Create two KJARs with Self-Contained BPMN Process

There are two KJARs (packaged as kjar) within the maven project, namely customer-rules and employee-rules. See the pom.xml file for each file to understand the packaging. Nothing too difficult here.

Import KJAR as Depenency to Another KJAR

Use maven dependency to import one kjar into the other. See the pom.xml for the employee-rules project.

Use Imported BPMN Process as Sub-Process Task

The Reusable Process within the Sub Process Task can be used to include one BPMN as a sub-process to another.

The process within the employee-rules KJAR will use the BPMN defined within the customer-rules process as a sub-process task. The employee-rules process is as follows:

Process

The task named External Customer Rules has a Call Activity has a Called Element that refers to the customer-rules BPMN process id.

Technology Stack

  • BRMS
  • BPMN
  • Maven

bpmn-brms-subprocess's People

Contributors

dependabot[bot] avatar sunil-samuel avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.