In Brief: Using Flowable 6.4.2, I’m able to deploy two BPMN 2.0 files and one DMN 1.1 file via a single zip file using the App Engine. The BPMN 2.0 files and DMN 1.1 file all appear to be deployed correctly and are usable, but I can’t reference the DMN 1.1 decision table from one of the BPMN 2.0 process models. I’m sure I’m just missing something, but here’s the error I get:
{
"message": "Internal server error",
"exception": "deployment 83cba0f0-0a6b-11ea-8ce0-02424714883b doesn't contain any rules"
}
More Detail: The zip file’s structure is flat, i.e. it contains the files at its top level. The zip file is deployed using the following endpoint:
POST http://localhost:8080/flowable-task/app-api/app-repository/deployments
After deployment, I’m able to execute the decision table using this endpoint:
POST http://localhost:8080/flowable-task/dmn-api/dmn-rule/execute
I’m also able to start an instance of the process definition that doesn’t reference the decision table by calling this endpoint:
POST http://localhost:8080/flowable-task/process-api/runtime/process-instances
However, if I use the endpoint above to attempt to start an instance of the process definition that does reference the decision table, I get the error indicated under “In Brief” above.
As a side note, in order to run an instance of the Business Rule Task containing the reference to the decision table, I had to copy/paste the kie-api-7.6.0.Final.jar
JAR file into the flowable-task
webapp’s WEB-INF/lib
directory. Only after copy/pasting that file was I able to see the error message cited above.
If I’ve missed anything, please let me know! Thanks in advance for any help you can provide.
P.S. Just to confirm, it appears that it isn’t possible to add a decision table to an app within the Flowable Modeler application’s App Editor. Is that correct?