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

Evaluation of expression keyword myVariable keyword myFunction() fails #394

Closed
tasso94 opened this issue Jan 27, 2022 · 0 comments · Fixed by #395
Closed

Evaluation of expression keyword myVariable keyword myFunction() fails #394

tasso94 opened this issue Jan 27, 2022 · 0 comments · Fixed by #395
Assignees
Labels
scope: Camunda 7 Required in the context of Camunda 7 type: bug

Comments

@tasso94
Copy link
Member

tasso94 commented Jan 27, 2022

Describe the bug

The evaluation of an expression structured as myVariable keyword myFunction() fails with a ValError(no function found with name 'myVariable keyword myFunction' and 1 parameters).

To Reproduce

Evaluate the following expression to reproduce the problem:

eval("if 7 > var then flatten(xs) else []",  Map("xs" -> List(1, 2), "var" -> 3))

Expected behavior

The expression has the following return value:

ValList(List(ValNumber(1), ValNumber(2)))

Environment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: Camunda 7 Required in the context of Camunda 7 type: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant