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

Missing variable reader for external tasks #309

Open
FlorianCassayre opened this issue Dec 13, 2022 · 1 comment
Open

Missing variable reader for external tasks #309

FlorianCassayre opened this issue Dec 13, 2022 · 1 comment
Assignees
Labels
Prio: Should This feature should be implemented. Type: enhancement New feature or request
Milestone

Comments

@FlorianCassayre
Copy link

Scenario

  • camunda-bpm-data version: 1.2.8
  • Camunda BPM version: 7.17.0
  • Description of your use case: there is no reader for external tasks

Current Behaviour

ExternalTask externalTask = ...;
VariableReader reader = reader(externalTask.getAllVariablesTyped());
var value = reader.get(MY_VARIABLE);

Wanted Behaviour

VariableReader reader = reader(externalTask); // No call to getAllVariablesTyped

Possible Workarounds

See Current Behaviour. It's not convenient to call getAllVariablesTyped on the external task, this should be abstracted by the library. Reading variables from external tasks is a common use case (see the ExternalTaskHandler interface).

@zambrovski zambrovski self-assigned this Feb 6, 2023
@zambrovski zambrovski added this to the 1.3.0 milestone Feb 6, 2023
@zambrovski zambrovski added Type: enhancement New feature or request Prio: Must Must feature for current milestone labels Feb 6, 2023
@zambrovski
Copy link
Member

Must be implemented in a new additional module, since it depends on external-client which is not part of the c7 engine.

@zambrovski zambrovski added Prio: Should This feature should be implemented. and removed Prio: Must Must feature for current milestone labels May 17, 2023
@zambrovski zambrovski modified the milestones: 1.3.0, 1.4.0, BACKLOG Oct 6, 2023
@zambrovski zambrovski modified the milestones: BACKLOG, 2.0.0 Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Prio: Should This feature should be implemented. Type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants