Add a business rule task
Open your Payment Retrieval process in the Camunda Modeler. Select the Approve Payment task and change its type to Business Rule Task via the wrench menu.
- Implementation:
DMN - Decision Ref:
approve-payment - Result Variable:
approved - Map Decision Result:
singleEntry

Create a DMN table
Create a new DMN diagram via File > New File > DMN Diagram.
approve-payment (matching your BPMN Decision Ref).


Specify the DMN table
Double-click Input to configure:- Input Label:
Item - Input Expression:
item

- Output Label:
Approved - Output Name:
approved

boolean.


Deploy the DMN table
Click Deploy in the Modeler. Provide the deployment name Payment Retrieval Decision and confirm.
Verify the deployment with Cockpit
Navigate tohttp://localhost:8080/camunda/app/cockpit/ and log in with demo / demo. Open the Decisions section to confirm Approve Payment appears as a deployed decision definition.

Inspect with Cockpit and Tasklist
Open Tasklist athttp://localhost:8080/camunda/app/tasklist/. Start two Payment Retrieval instances with different inputs to observe routing variations based on the DMN evaluation.


