[jboss-jira] [JBoss JIRA] (DROOLS-5577) Calling static Java method from DMN model (Drools Business Central)
Kristina Mandekic (Jira)
issues at jboss.org
Thu Aug 13 08:43:00 EDT 2020
Kristina Mandekic created DROOLS-5577:
-----------------------------------------
Summary: 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
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?
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list