I have a simple DMN decision that counts an age from the date of birth:
years and months duration(date(DOB), today()).years
It's working fine in the KIE Sandbox but I'm not able to get it running from a .scesim
file executed from maven (using mvn test
). I'm getting:
[ERROR] Errors:
[ERROR] #1: Failure reason: The decision "Age" has not been successfully evaluated: FEEL ERROR while evaluating literal expression 'years and months duration(date(DOB), today()).year... [string clipped after 50 chars, total length is 51]': Unable to find function 'date( lass org.kie.dmn.feel.runtime.functions.extended.DateFunctio )' (testAge)
[INFO]
I tried to follow https://blog.kie.org/2021/04/how-to-use-test-scenario-editor-to-test-your-dmn-asset-in-vscode.html but it didn't help.