Hi Everyone,
I am getting the “Exception while evaluating decision with key ‘null’” error when testing DMN table using rest API in postman. The URL is : http://localhost:8080/engine-rest/decision-definition/key/Discounts1/evaluate
I have only one row with two columns in the DMN table. Not sure about the reason for getting this error. Kindly advise.
Below is the request details.
{
"variables": {
"adviserChannel": {
"value": "Test"
},
"hasLumpSum": {
"value": true
}
}
}
Below is the error message.
{
"type": "RestException",
"message": "Cannot evaluate decision Discounts1:5:4862a153-1d08-11ec-9949-f859715ce90f: Exception while evaluating decision with key 'null'"
}
Below is the XML from the DMN table.
<?xml version="1.0" encoding="UTF-8"?> adviserChannel 8% LIC discount on lump sum cover strips "Test" true "8% LIC discount"