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

Support List<Map<String, Any>> variable factory, since it is a common result of a DMN evaluation #358

Closed
zambrovski opened this issue May 16, 2023 · 0 comments · Fixed by #424
Assignees
Labels
Type: enhancement New feature or request
Milestone

Comments

@zambrovski
Copy link
Member

Scenario

  • camunda-bpm-data version: 1.2.x
  • Camunda BPM version: any
  • Description of your use case: If running DMN via business rule task writing a multi-output variable of a collect hit policy resulting in List<Map<String, Any>>, I want to be able to access the variable in a typed manner.

Current Behaviour

No possibility to define the variable because of type erasure.

Wanted Behaviour

listOfMapVariable<K,V>() factory for this purpose.

Possible Workarounds

Downcast directly.

@zambrovski zambrovski added the Type: enhancement New feature or request label May 16, 2023
@zambrovski zambrovski added this to the 1.4.0 milestone May 16, 2023
@zambrovski zambrovski modified the milestones: 1.4.0, BACKLOG Oct 6, 2023
@mmiikkkkaa mmiikkkkaa linked a pull request Jan 19, 2024 that will close this issue
zambrovski added a commit that referenced this issue May 24, 2024
…-variable-factory-since-it-is-a-common-result-of-a-dmn-evaluation

feat(#358): support List<Map<*,*>> variable factory
@zambrovski zambrovski modified the milestones: BACKLOG, 1.5.1 May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants