Decision Executor REST not working

Cannot execute decision table using Flowable REST. I could deploy it using REST, but when I try to send a POST request to “http://localhost:8080/flowable-rest/dmn-api/dmn-rule/decision-executor” using below data stored in a file named “input.json” It does not work. I tried sending raw body, same issue

{
“decisionKey”: “intro”,
“inputVariables”: [
{
“name” : “name”,
“value” : “flowable”,
“type” : “string”
}
]
}

Hi,

Do you have some additional info? F.e. the response from the request above?
And perhaps the used curl command?

Regards,

Yvo

Tried in Postman tool first with by setting Body -> form-data key=file and value= and tried submitting, it did not work.

Also tried CURL,
curl --user kermit:kermit -H “Content-Type: application/json” -X POST -d ‘{“decisionKey”: “intro”,“inputVariables”: [{“name” : “name”,“value” : “flowable”,“type” : “string”}]}’ http://localhost:8080/flowable-rest/dmn-api/dmn-rule/decision-executor

Am I missing anything here ?

Hi .

See my reply here; How to execute a DMN through the REST API?

The correct endpoint should be; POST dmn-rule/execute

Regards,

Yvo