use of org.kie.dmn.feel.runtime.FEELFunction in project drools by kiegroup.
the class DMNFEELHelper method evaluateFunctionDef.
public FEELFunction evaluateFunctionDef(DMNCompilerContext ctx, CompiledExpression expression, DMNModelImpl model, DMNElement element, Msg.Message errorMsg, Object... msgParams) {
FEELFunction function = null;
try {
function = (FEELFunction) feel.evaluate(expression, Collections.emptyMap());
} catch (Throwable t) {
logger.error("Error evaluating function definition. Error will be reported in the model.", t);
}
processEvents(model, element, errorMsg, msgParams);
return function;
}
Aggregations