I want to have the possibility to simulate the rules that have been created

As a LoB expert, I want to have the possibility to simulate the rules that have been created so that I can analyze how this will be applied.

Hello,
do you mean DMN with “the rules”?
Maybe this can help you to simulate the Camunda DMN-Simulator

This repository has blog articles linked in the “Usage” section if you want to go a step further and automate/integrate DMN testing.
camunda-community-hub/camunda-dmn-tester: Project to test (Camunda)-DMN Tables. (github.com)

Is there any way to integrate it with the java.

Well if you want to simulate it in Java you could write tests for the cases.
Testing process definitions | Camunda 8 Docs

do we need to integrate with service task?
Can we run DMN directly without any service task?

If you just want to test the DMN id recommend the Camunda DMN-Simulator.
You can also just create a BPMN File with just a Business Rule Task and then assert the Result if you want to test the result.
This can be done with the embedded test engine.

For analyzing Camunda 7 DMNs I wrote a DMN Tester:

There I use the dmn-scala library to evaluate decisions. See GitHub - camunda/dmn-scala: DMN engine written in Scala

As this is now part of Camunda 8, it should not be hard to adjust this to Camunda 8 DMNs.

in Camunda 7, i extensively use:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.