Git Product home page Git Product logo

dynamic-dmn-example's Introduction

Dynamically Call a DMN table from a BPMN Process

This is a Camunda example which shows how a BPMN model can dynamically call a different DMN table depending on runtime data.

What does this do?

There is a BPMN process in which a user can give some data about themselves and the kind of movie they're interested in watching and using DMN a suggestion is made to them. bpmn

There are 2 DMN tables with the keys netflixPickGermanyand netflixPickAmerica. The DMN table that is called Depends on if a user has selected America or Germanyas their location. This is done by creating a variable countryfrom a use form and then using an expression when calling the DMN table. netflixPick#{country}. This will generate the correct name of the table in runtime.

How to Run this?

  1. Install Java JDK 11 (if you don't already have it)
  2. Download and run Camunda Platform
  3. Download and run the Camunda Modeler
  4. Open the model in the BPMN folder in the Modeler
  5. Deploy the BPMN making sure to include all DMN and forum files. deploy
  6. Go to http://localhost:8080 and login using demo/demo
  7. Start the Netflix Movie Picker process.

dynamic-dmn-example's People

Contributors

npdeehan avatar

Watchers

 avatar

Forkers

skayliu

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.