Book a Demo

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ea1122

Pages: [1]
1
OK, I see my error.

2
Thank you for your reply!
If all activities must be defined in the same class as any invoking activity, should all activities be in the same class to permit them to invoke each other?
Separating classes permits grouping of related components, the main value of classes.
I much appreciate your help!

3
Class A contains activity A() and a subclass B containing activity B().
But when A() calls B() a code error is generated:
   public void A(a, b) {
      // behavior is a Activity
      /*Warning: B - Invoking behaviors from other classes - Not Supported!!*/
   }
So how does an activity invoke a behavior defined in a subclass of its own class?

4
General Board / Re: How to copy an Activity into an Activity that calls it?
« on: November 14, 2025, 04:24:15 am »
Thank you very much! That worked fine. For some reason the outer Activity diagram boundary disappeared, so I wonder how to restore that so that the Parameter pins and Action pins can be located there?

5
General Board / How to copy an Activity into an Activity that calls it?
« on: November 14, 2025, 12:47:07 am »
An activity has a Call(BehaviorAction) to Activity A which is not called anywhere else, so its contents should instead be copied into the calling activity. But when Activity A is copied, it cannot be pasted into the calling activity. Two methods were tried:
1. In browser, right-click Activity A, select Copy/FullStructureForDuplication.
Right-click the destination activity diagram, select Paste (only allows paste of an image).
2. In browser, drag Activity A to the destination activity diagram (allows only paste as an Invocation, Link, or Partition), select Partition (copies empty diagram with param. pins)
Does anyone know how to copy an Activity into an Activity that calls it?

Pages: [1]