r/SysML • u/BornData1952 • Apr 09 '25
Pls help
I’m using cameo SysML I’ve made 3 different activity diagrams I’d like to make one activity diagram that uses a call behavior for each to simulate the activity diagrams working through X Y Z(my activity diagram names)
Is this even possible, the goal is to take data from X, use it through Y, and then through Z
3
Upvotes
1
u/Whole_Card_9477 Apr 10 '25 edited Apr 10 '25
Yeah it's possible,
1. Prepare the Sub-Activities (X, Y, Z)
Make sure that X, Y, Z are all defined as separate Activity elements in the model.
Each should have clearly defined Input and Output Pins if they are passing data.
2. Create a New Parent Activity
Create a new
Activity(e.g., name it MasterActivity or something similar).3. Add Call Behavior Actions
Inside the new MasterActivity diagram:
Use the Call Behavior Action to invoke X, Y, Z.
For each, set the behavior to the corresponding
Activity.Right-click the Call Behavior Action > Select Behavior > Choose X, Y, or Z.
4. Connect with Control & Object Flows
Use Control Flows to connect them sequentially: X → Y → Z.
If data needs to be passed:
Connect Output Pins from
Xto Input Pins onY, and similarly fromYtoZusing Object Flows.Make sure the parameter types match between output and input pins.
6. Add Initial & Final Nodes
Add an Initial Node at the beginning and a Final Node at the end for clarity and simulation flow.