10 months ago
I moved my app variables to the shared variables to reuse. Now the application itself uses the shared variable to connect to the database and works, but the visual part - the arrow from the app to the db disappeared on UI.
12 Replies
10 months ago
Hello,
Shared variables are not what you'd want to use here, service reference variables are the key here -
Sure. The value of the shared variable is $ {{....}} This value works actually within shared variable.. But the arrow on UI is not appeared. If put the same value for non-shared variable - arrow appears on UI. It is only UI diagram issue, the app works as expected.
10 months ago
Yep, shared variables will not cause the dotted lines to be drawn, you'd want to use service level reference variables for that.
It looks like a bug 🙂 If have link to that service the line need to be appeared.
10 months ago
I'm sorry, what is the bug? it it expected that project level shared variables will not draw the dotted lines.
I see what you mean. It was my opinion. If the meaning of the line to show the dependency - it doesn't make sense to not draw it in case of shared variables.
10 months ago
Shared variables are a project level construct, where would the lines get drawn?
I'm surprised that I wasn't clear.
We don’t draw a line from the shared variable itself. LOL.
We need to draw a line from the service that uses the variable
to the service that the variable’s value refers to.
10 months ago
We do, as long as you are using service level reference variables.
10 months ago
!s
Status changed to Solved brody • 11 months ago