Using properties from instances in decisions

Starting point for “ask and learn more about MagicDraw”

Moderator: Moderators

Using properties from instances in decisions

Postby e_frog » Thu Jun 25, 2020 3:29 am


I'm new to Cameo Systems Modeler. My problem is concerning activity diagrams.

My plan is to use the values I specified under "slots" in an instance for a following decision. I specified one property "test" as type Integer. Its value is 7.
I dragged the instance on my activity diagram in which it appeares as a value specification with one output pin. I want to use the value 7 in the following decision: e.g. two activity edges: test<4 or test>4?). I tried naming the output pin "test" and connecting it via object flow with the decision node (the value specification node is ofc also connected to that via control flow.). Unfortunately it doesnt work this way.

I attached the .mdzip as a minimal example.
I hope you can help me. Thanks in advance!
You do not have the required permissions to view the files attached to this post.
Forum Newbie
Forum Newbie
Posts: 1
Posts Rating:0
Joined: Thu Jun 25, 2020 3:11 am

Return to New to MagicDraw

Who is online

Users browsing this forum: No registered users and 0 guests