A newbie question here.
I have been playing with Camunda from last one week. Product is amazing. It's so light weight. The best thing is I can just embed it in my spring application!
Now I have a requirement and I think Camunda is the best fit for it. We are planning to develop a simple decision engine for our internal needs. We will have bunch of rules and I think we can use DMN for this, however for orchestration of these rules we need some sort of flow controller. I think we can use BPM here for this. So in a high level we will end up with something like this
Only one BPM file -- purely for orchestration
and 4 or 5 DMN files
What I want to know is
1. Is it right approach
2. Is there any example demonstrating this, so I can start from there
3. With this approach is it possible to configure the process to return a JSON/XML (multiple values/elements obviously)
Thanks in advance for your valuable time.
-Bharat
See the docs [1] how to use a business rule task. In the example, you need to map the result in a process variable which is used from the next rule.
Can you please descript your 3rd point. What do you want do return?
Greetings,
Philipp
[1] https://docs.camunda.org/manual/latest/reference/bpmn20/tasks/business-rule-task/