biyat
January 29, 2018, 10:05pm
1
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”
}
]
}
yvo
January 30, 2018, 8:54am
2
Hi,
Do you have some additional info? F.e. the response from the request above?
And perhaps the used curl command?
Regards,
Yvo
biyat
January 30, 2018, 2:34pm
3
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 ?
yvo
January 30, 2018, 2:59pm
4
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