Skip to content

Expose variable incarnations per origin #5697

@barinali

Description

@barinali

Problem you would like to solve

We are currently merging the variable values/info and types with all the possible incarnations. It is more obscure than it helps the user when it comes to the variables written by many places.

Image

Proposed solution

Instead of merging value/info and types from all the incarnations, we would like to make the variable resolution more contextual. Taking the screenshot from the problem statement into account;

Instead of showing a variable's merged value/info and types, we should show its current incarnation at the point of selection.

For the variable expressionsOverExpressions3, we currently have 4 merged value/info. Instead of showing all four at once, we should show what's "current" value/info in the current selection/context. Some produced screenshots;

Image Image

The same goes for the variable expressionsOverExpressions4.

Image Image

Exposing incarnations of variables instead of their merged states would enable users to have a better understanding of their variables at a point, navigate via elements writing to the same variable and observe different incarnations at that point of selection.

Alternatives considered

Leaving the variables resolution as-is.

Additional context

The diagram used in the screenshot is added here; many_elements_writing_to_same_variables.bpmn.txt. It's added as a plain text file as .bpmn extension is not supported by GitHub.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions