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

[FEEL/DMN] A unary-test expression with ? returns null instead of true/false #26054

Open
saig0 opened this issue Dec 13, 2024 · 0 comments · May be fixed by camunda/feel-scala#959
Open

[FEEL/DMN] A unary-test expression with ? returns null instead of true/false #26054

saig0 opened this issue Dec 13, 2024 · 0 comments · May be fixed by camunda/feel-scala#959
Assignees
Labels
area/dmn Related to the DMN engine or specification area/feel Related to the FEEL engine or specification component/feel-scala Related to the FEEL-Scala engine kind/bug Categorizes an issue or PR as a bug regression This issue is a recession from previous functionality support Marks an issue as related to a customer support request

Comments

@saig0
Copy link
Member

saig0 commented Dec 13, 2024

Describe the bug

In a DMN decision table, I have the following unary-test expression:

list contains([481, 485, 551, 483], ?)

When the expression is evaluated with the input value 481 or 999, it returns null and the rule doesn't match.

Steps to reproduce

FEEL-Scala Playground

Expected behavior

The expression should return true if the input value is 481. If the input value is 999, it should return false.

In FEEL-JS, the behavior is correct: FEEL-JS Playground.

FEEL-Engine

FEEL-Scala (Runtime, Expressions, DMN)

Environment

  • Camunda Version: 8.6.0+
  • Camunda Version: 7.22.1+
  • FEEL-Scala Version: 1.17.8+, 1.18.0+

Additional context

Related support cases:

🔒 Related Slack discussion

@saig0 saig0 added kind/bug Categorizes an issue or PR as a bug support Marks an issue as related to a customer support request regression This issue is a recession from previous functionality component/feel-scala Related to the FEEL-Scala engine area/feel Related to the FEEL engine or specification area/dmn Related to the DMN engine or specification labels Dec 13, 2024
@saig0 saig0 assigned saig0 and unassigned saig0 Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dmn Related to the DMN engine or specification area/feel Related to the FEEL engine or specification component/feel-scala Related to the FEEL-Scala engine kind/bug Categorizes an issue or PR as a bug regression This issue is a recession from previous functionality support Marks an issue as related to a customer support request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant