bpm-crafters / bpm-crafters/process-engine-worker

Be able to get all process variables injected as a payload map, even if the explicit injection of a named variable is used.

Open
#33 0 comments 0 reactions 0 assignees View on GitHub
good first issue Type: enhancement
Dominant language
Kotlin
Stars
17
Forks
2
Avg merge
2d 20h
Merged PRs (30d)
4

Description

### Scenario

* Library version: 0.0.4

### Current Behaviour

If you use `@Variable` only those variables are fetched from the payload and will be given to you. If you in addition inject the Payload `Map` as a parameter it will still only contain the variables present as individual method parameters.

### Wanted Behaviour

Be able to overwrite this behavior with additional attribute of the `ProcessEngineWorker` annotation and still fetch all variables. (adding `overwriteVariableFetching` boolean parameter)

### Possible Workarounds

Not use `@Variable` and `Map` in the same method.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.