Let's create a decision node by dragging the rectangle onto the canvas.
The decision nodes are the most important kind of node in our DMN model. Their output value depends on their decision logic and input data (input nodes or the output value from other decisions).
Now, let's double-click our recently created decision node to rename it to Can drive? (yes, with the question mark) ;-)
Great stuff!
Now, let's create an input data node by dragging the rounded-corner rectangle onto the canvas.
Input data elements denote information used as input for one or more decisions.
Now, rename our input to Age. Remember, you can double-click our node to rename.
Excellent!
You can also define other properties of our nodes. Toggle the properties panel by clicking the pencil icon.
The properties panel shows all properties related to the currently selected node. You can update our input data (to set its type to number, for example), but don't worry about that right now.
Let's check another powerful and essential tool, the boxed expression editor, which is responsible for the defining decision logic for decision nodes. Open it by selecting our decision node Can drive?, and then clicking the pencil icon.
Here's where we define the decision logic for our decision node. This logic will determine the output value for the decision.
Right now, you don't have any boxed expression defined for our node, so click Select expression to select one of the available boxed expressions.
Excellent! If you want to learn more about each kind of boxed expression, check this: learn-dmn-in-15-minutes.com/learn/decision-logic .
Now, let's go back to our canvas by clicking this link!