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

Variable defined in a subprocess' child is suggested in its input #4422

Open
barmac opened this issue Jul 5, 2024 · 1 comment
Open

Variable defined in a subprocess' child is suggested in its input #4422

barmac opened this issue Jul 5, 2024 · 1 comment
Labels
backlog Queued in backlog bug Something isn't working

Comments

@barmac
Copy link
Collaborator

barmac commented Jul 5, 2024

Describe the bug

Any variables defined in the children of a subprocess appear in the code suggestions for that subprocess. However, these variables are not part of the subprocess scope.

Screen.Recording.2024-07-05.at.13.15.22.mov

Steps to reproduce

  1. Create a subprocess
  2. Add an element with output variable as a subprocess' child
  3. Notice that the variable appears in the input suggestions

Expected behavior

In the input, I want to see only variables which can at least potentially be present. I don't want to see variables which can never be available in the element.

Environment

  • OS: [e.g. MacOS 10.2, Windows 10]
  • Camunda Modeler Version: [e.g. 2.0.0]
  • Execution Platform: [e.g. Camunda 7, Camunda 8]
  • Installed plug-ins: [...]

Additional context

No response

@barmac barmac added the bug Something isn't working label Jul 5, 2024
@barmac
Copy link
Collaborator Author

barmac commented Jul 5, 2024

This came up at the implementation of #3951 where the variables available for start or end execution listener of a process are expected to be vastly different.

@jarekdanielak jarekdanielak added the backlog Queued in backlog label Jul 16, 2024 — with bpmn-io-tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Queued in backlog bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants