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

Invoke a function defined in a required BKM #12

Open
saig0 opened this issue Oct 8, 2020 · 1 comment
Open

Invoke a function defined in a required BKM #12

saig0 opened this issue Oct 8, 2020 · 1 comment
Labels

Comments

@saig0
Copy link
Member

saig0 commented Oct 8, 2020

I can invoke a function that is defined in a required BKM. The function can be defined

  • as a function definition (as decision logic)
  • as a literal in a literal expression
  • inside a context

requires camunda/feel-scala/issues/335


Edit: currently, it is possible to invoke the function if it is defined in a required decision but not a BKM.

@saig0 saig0 added the bug label Oct 8, 2020
@saig0
Copy link
Member Author

saig0 commented Sep 16, 2021

Invoke function from

  • required decision with function literal or function definition: decisionName(x)
  • required decision with context: decisionName.fun(x)
  • required BKM with function literal or function definition : bkmName()(x)
  • required BKM with context: bkmName().fun(x)

Related TCK tests:

saig0 added a commit that referenced this issue Sep 17, 2021
* avoid shadowing the function by using a unique name
* create more test cases for the different cases (decision & BKM)
* ignore failing test cases (#12)
@saig0 saig0 changed the title Invoke a function defined in a required decision/BKM Invoke a function defined in a required BKM Sep 17, 2021
saig0 added a commit that referenced this issue Sep 17, 2021
* avoid shadowing the function by using a unique name
* create more test cases for the different cases (decision & BKM)
* ignore failing test cases (#12)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant