Search code examples
rule-enginebpmnbusiness-rulescamunda

How can we configure a Datasource as for Camunda DMN


I am using Camunda DMN for managing rules in my application. I want the input/output conditions of the rules to be updated by the end users, is there a way to connect to it to Database and have the values fetched directly from there?

Note: I have already looked into the redeploy process by updating the DMN file.

Please suggest what can be done and which one would be better?


Solution

  • The by far simpliest approach is to just edit the dmn files. Not sure on datasource connection, but if you need dynamic, you can either generate the dmn based on your datasource or use groovy expression language and call services/daos during evaluation to get data from external sources.