The visual representation of a Decision Requirements Graph (DRG) is called a Decision Requirements Diagram (DRD).
Switch from decision table to DRD
Open the existing Dish decision table and click View DRD to access the Decision Requirements Diagram view, which displays a single decision named Dish.
Set the name and the id of the DRD
Click the canvas and open the properties panel. Update the id todinnerDecisions and the name to Dinner Decisions.

Create a new decision in the DRD
Select the decision icon from the palette to add a new decision. Name it Beverages and set its type to Decision Table using the wrench icon. Configure the id asbeverages via the properties panel.
Connect the Dish decision to Beverages to indicate that Dish is a required decision providing input for the beverages evaluation.


Configure the decision table and add the rules
Set up the Beverages decision table with:- Input: Dish (expression:
desiredDish, type: string) - Input: Guests with children (expression:
guestsWithChildren, type: boolean) - Output: Beverages (name:
beverages, type: string) - Hit Policy: COLLECT (with LIST operator)

src/main/resources.
Evaluate the decision
Extend the application class to evaluate the Beverages decision by adding aguestsWithChildren variable:
Build and deploy the web application
Build with Maven and replacedinner-dmn-0.1.0-SNAPSHOT.war in $ASEEFLOW_HOME/server/apache-tomcat/webapps.
Check the Tomcat log for successful deployment indicators:
Verify the evaluation with Cockpit
Open Cockpit and navigate to the Decisions section.

desiredDish input.
Next steps
- Learn more about DRGs in the DMN Reference
- Explore the full Decision Engine documentation