I am creating a configuration that has an installation and workspace. I would like the label of the installation to be computed from the name of the Installation and Workspace.
I am aware of Predefined Variables, but they only seem to enable use from within the scope. So, if I am in a stream, my scope is the project and then the project catalog. So both of those are in scope.
In my case, I would like to use variables that represent values in a contained element. I.e. I would like the label of the Installation contained in the Configuration.
In OCL code this would look like this:
context Configuration
def label = installation.label + " for " + workspace.label
So for an installation with label "The workbench" and workspace label "hacked up code" we would get the "The workbench for hacked up code".
Is this sort of declaration possible and how would I achieve that?
[Updated on: Tue, 06 September 2022 22:07] by Moderator