Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decision Service cannot be recognized in output columns of decision table #6058

Open
dmitry-buykin opened this issue Aug 29, 2024 · 2 comments
Labels

Comments

@dmitry-buykin
Copy link

dmitry-buykin commented Aug 29, 2024

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.

@yesamer
Copy link
Contributor

yesamer commented Aug 29, 2024

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.

@jomarko
Copy link
Contributor

jomarko commented Aug 30, 2024

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 📋 Backlog
Development

No branches or pull requests

3 participants