Camunda services for DMN testing

There is the project GitHub - olegdrozdov/dmn
I am launching test2() with dmn.dmn and have the positive result.

There are two (may be more) dmn services:
dmn.camunda.cloud
camunda.org/dmn/simulator/
After uploading my dmn i try to test it with value sum = 1234567.89

The first one throws this:
{"code":500,"message":"There was an error processing your request. It has been logged (ID afa0836fed87420c)."}
The second one says this:
DMN-01002 Unable to evaluate expression for language 'ECMAScript': 'java.math.BigDecimal.valueOf(sum*0.1125).setScale(2, 1).doubleValue()'

May be there is my mistake, because i use specific output parameter

Please, look at this.

BR, Oleg

PS Sorry for links of services, new users can only put 2 links in a post.

Hi Oleg,

I can only answer the dmn.camunda.cloud part. You can use any scripting language in the DMN file on this service. You can only use JUEL and FEEL.

For the simulator I’m not sure how the variable passing was implemented.

Cheers,
Sebastian

Thanks, Sebastian

Only JUEL and FEEL in the cloud :slight_smile: