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

DMN module exposes API to evaluate decisions #8082

Closed
Tracked by #8083
saig0 opened this issue Oct 27, 2021 · 0 comments · Fixed by #8640
Closed
Tracked by #8083

DMN module exposes API to evaluate decisions #8082

saig0 opened this issue Oct 27, 2021 · 0 comments · Fixed by #8640
Assignees
Labels
kind/toil Categorizes an issue or PR as general maintenance, i.e. cleanup, refactoring, etc. scope/broker Marks an issue or PR to appear in the broker section of the changelog

Comments

@saig0
Copy link
Member

saig0 commented Oct 27, 2021

Description

Extend the DMN module to evaluate DMN decisions.

  • expose the API evaluateDecisionById(parsedDecision, decisionId, context): EvaluationResult
    • context allows to access variables
    • EvaluationResult contains the result of the decision evaluation
    • EvaluationResult contains the failure message if the evaluation failed
  • create a context object for the access of variables from the decision
    • goal: allows to access a variable by its name
    • but the DMN engine doesn't support a context yet - only plain variables as Map[String, Any]
    • workaround: load all variables from the state
    • next steps: extend the DMN engine and update the context access

blocked by #8063
blocked by #8081

@saig0 saig0 added kind/toil Categorizes an issue or PR as general maintenance, i.e. cleanup, refactoring, etc. scope/broker Marks an issue or PR to appear in the broker section of the changelog labels Oct 27, 2021
@saig0 saig0 added this to the Evaluate DMN decisions milestone Oct 27, 2021
@saig0 saig0 added this to Planned in Zeebe Oct 27, 2021
@saig0 saig0 changed the title Expose API to evaluate DMN decisions DMN module exposes API to evaluate decisions Oct 27, 2021
@korthout korthout self-assigned this Jan 24, 2022
@korthout korthout moved this from Planned to In progress in Zeebe Jan 24, 2022
@ghost ghost closed this as completed in 6c489d0 Jan 31, 2022
Zeebe automation moved this from In progress to Done Jan 31, 2022
@KerstinHebel KerstinHebel removed this from Done in Zeebe Mar 23, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/toil Categorizes an issue or PR as general maintenance, i.e. cleanup, refactoring, etc. scope/broker Marks an issue or PR to appear in the broker section of the changelog
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants