Comments (2)
Hello Radek
Thank you so much.
from common.dmn.engine.
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)
- NormalizeVariableName(string name) HOT 7
- DMN "CodeCoverage" HOT 2
- XML file HOT 2
- Memory leak detected within DmnExecutionContext class HOT 14
- Issue in net 6 with parsing definition from DM HOT 7
- Support for DMN 1.3 HOT 13
- how do i install DMN.Engine in my .NET project? HOT 5
- DMN files from latest version of camunda modeler not working HOT 4
- DmnExecutionContext.ExecuteDecision() seems to be using the label instead of the name to identify output from a dependent Decision HOT 2
- Not working under parallel HOT 3
- ParsedExpressionsCache Corruption when running multiple concurrent evaluations HOT 5
- Return matched rules as part of Decision Result HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from common.dmn.engine.