apache/incubator-kie-drools

Decision Service cannot be recognized in output columns of decision table

Opened this issue · 2 comments

image

Validator throws error:
DECISION_TABLE_ANALYSIS_ERROR: Skipped Decision Table Analysis of table 'PayersByCountry' because: Name of function is not instance of NameRefNode!FunctionInvocationNode{CountryAD.CountryAD(Input)}

Evaluation of such imported decision services works fine without issues, it's only validation broken.
It doesn't work for imported or internal decision services. Both cases are failing.

Hi @dmitry-buykin, thank you for reporting that.
Can you please share a reproducer for that issue? If your asset contains sensitive data, you can just create a fake DMN file with minimal info just to reproduce the same issue. Thank you.

@yesamer I double-checked the issue is my favorite topic - DMN. I can confirm it is reproducible, I am attaching the reproducer.

CountryAD model

CountryAD.dmn.txt

Main model

main.dmn.txt

Screenshot 2024-08-30 071806

Due to the message in DMN Runner panel, I tend to think one piece of fix is needed in the drools repository. However, in the ticket apache/incubator-kie-tools#2549 we can notice also FEEL Syntax highlighting is not working, notice the red text. We need to check if tooling syntax highlighting is independent of #6058 or once it is fixed also the tooling will be fine.