]
Matteo Mortari updated DROOLS-5577:
-----------------------------------
Workaround Description:
# Ignore this validation error (red popup) while Saving the DMN Model with the editor
# Proceed to Deploy the KJAR BC Project as usual
Workaround: Workaround Exists
Calling static Java method from DMN model (Drools Business Central)
-------------------------------------------------------------------
Key: DROOLS-5577
URL:
https://issues.redhat.com/browse/DROOLS-5577
Project: Drools
Issue Type: Bug
Components: DMN Editor, dmn engine
Affects Versions: 7.40.0.Final
Reporter: Kristina Mandekic
Assignee: Guilherme Gomes
Priority: Major
Labels: support
Attachments: Artifacts.PNG, Artifacts0.PNG, DroolsNewTypes5-0.0.1-SNAPSHOT.jar,
dependencies.PNG, stdev 0.PNG, stdev 1.PNG
When calling static Java method {{stdev_a}} (which I created in a new Java Maven project)
from Drools Business Central DMN project/model, I'm getting following error:
{code:java}
DMN: Error compiling Java function 'stdev' on node 'stdev': Error
resolving external function as defined by: function(val) external { java: { class:
""com.samplea.drools.DroolsNewTypes5.StandardDeviationA"", method
signature: ""stdev_a(java.lang.Number)"" }} (DMN id:
_3B4B6CBE-847B-4488-8754-214F506BBB48, Error compiling the referenced FEEL
expression){code}
Also, how to view logs of DMN model when it has build errors?