Git Product home page Git Product logo

Comments (2)

bbrangeo avatar bbrangeo commented on May 26, 2024 1

Hello Radek

Thank you so much.

from common.dmn.engine.

adamecr avatar adamecr commented on May 26, 2024

Hello Boris @bbrangeo,
it always depends on the concrete DMN model and the goal what do you want to achieve.

I guess you use the simulation.dmn from Camunda simulator. The model contains two decisions - Dish and Beverages with a dependency between them.
So when you execute Dish decision, it will give you a dish output based on the season and number or guests.
However when you execute Beverages decision, it will execute the Dish decision (due to dependency) that will set the dish output and it will use this output together with input guests with children to decide what beverages (second output) to offer/serve. In this case, the "all decisions" are run (and both outputs are set) within the single execution because the model is defined this way, so no need to do anything but execute the Beverages decision.

You can of course iterate through the decisions in the model and execute them, but you need to always understand your model (dependencies) and the real use case and reflect it in you code accordingly - for example whether to execute them within the same context or in separate contexts, whether you need to manage the order of the decisions, how to set the cache, etc.

Hope this help
Radek

from common.dmn.engine.

Related Issues (13)

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.