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 - Gokcen Guner

Pages: [1] 2
1
General Board / calledActivityRef or sub-ProcessRef in HTML Report
« on: September 23, 2013, 06:53:57 pm »
Hello,
We are developing BPMN2.0 process diagrams. In some of them, we have activities that have activityType=Sub-Process and isACalledActivity=true values, ie they are call activities.

These activities need to be referenced to other BPMN2.0 diagrams but we couldn't connect them. Neither calledActivityRef nor sub-ProcessRef let us to choose a diagram. They only let us to reference BPMN2.0 Activities or just Usecases.

Eventually, in HTML report, we want something like that:
When a user clicks a call activity, user is redirected to BPMN2.0 process diagram which is called by this clicked activity.

Even if the last statement is undoable, we still need to connect a call activity to the process it calls.

Thank you in advance.

2
Automation Interface, Add-Ins and Tools / Re: Query for TaggedValue
« on: October 31, 2013, 10:03:22 am »
Thank you so much.

3
Automation Interface, Add-Ins and Tools / Query for TaggedValue
« on: October 31, 2013, 06:00:22 am »
Hello,
I need to query elements that has certain taggedvalue names like eventDefinition or activityType. Can I query for elements like 'elements that have activityType=Task'?

Thank you.

4
This works:

select * from t_diagramobjects dobj1, t_diagramobjects dobj2 where dobj1.object_id=dobj2.object_id and dobj1.diagram_id!=dobj2.diagram_id;

Thanks.

5
OK I will try to write it and share here.
Thank you.

6
Hello,
I need to implement the functionality provided in GUI by CTRL-U. Is there a way to do this?

7
Quote
Sorry. It's package.clone (of course). You'd need to call that for the temp package where you moved in the elements to clone.

q.
Thank you qwerty. I'll check it out.

8
Quote
You could use the Repository.Clone method if you move the element(s) to clone into a temp package. (Should I say that it would be nice if the API would be a bit more OO and offer clone and delete methods for all objects?)

q.
Hi qwerty,
I couldn't find Repository.Clone method in EA Help contents. There is only one clone method in Package class.
I also agree what you wrote in parenthesis :)

9
Quote
You can use copy/paste diagram to do this :
1. Create a diagram containing all the elemenst you want to clone
2. Select the package and launch paste diagram
3. Select the option "Deep" or "Smart" depending on your intention.
4. That's it.

Beware : the objects are cloned. It means that all their properties including their relationships are cloned.

Thanks Yves but I need to do this using automation not GUI.

10
Hello,
I need to copy-paste some elements in the same package. These elements are usecases. When using GUI, this operation creates a usecase named with the original one plus " - Copy". Can I use automation interface to achieve same thing?
Thanks in advance.

11
I'll explain what I tried so far:
  • Create a package named MyPackage. Inside this package I created a UML Structural Package Diagram named MyPackageDiagram.
  • I've dragged Profile from Toolbox (More Tools | Profile) and named this as MyProfile. This creates a <<profile>> package with same name (MyProfile).
  • Inside this I created UML Structural Class diagram named MyClassDiagram.
  • I've dragged Metaclass from Profile Toolbox. I've selected Stereotypes from 4 tabs of the popup screen. If it is not clear I'll send a screenshot. There is a combobox here which is including ~20 stereotypes. One of them is BPMN2.0 and I've selected it.
  • After selection it lists BPMN2.0 elements in the list below the combobox. I've selected Activity and clicked OK.
  • It creates a box named "BPMN2.0::Activity" and its type is 'Class' and stereotype is 'stereotype'.
  • I saved the MyProfile package as UML Profile.
  • I imported the xml to Resources->UML Profiles but it didn't work.

Another scenario is the one at http://www.sparxsystems.com/downloads/resources/booklets/enterprise_architect_sdk.pdf
I've followed everything step by step but I don't get a working extension.

In this case, importing the 'saved-package-as-UML-profile' xml shows the stereotype in Resources->UML Profiles but I couldn't apply it to a BPMN activity using neither ctrl+drag nor shift+drag.

I'll be glad to hear my mistake here.

12
Thank you qwerty. I'll try it later then  :)

13
Quote
Create your own profile with a stereotype that extends UML Activity and then apply that stereotype to a BPMN Activity (which also extends UML Activity). The Activity element's properties dialog will have a page for BPMN2.0 tagged values and a page for tagged values from your profile (if your stereotype defines any).

Hi KP, thak you for your response. I'm not sure I understood you correctly. I've read through http://www.sparxsystems.com/downloads/resources/booklets/extending_uml.pdf but couldn't get it work.

14
@qwerty: Thank you. In fact I don't want to change BPMN technology. It doesn't matter if I have another technology named XYZ at the same level with BMPN. I don't know which one is easier or more preferable but both is OK for me. Do you have any resources that show how to implement this?

@rothnic: Thank you for web site but as I understood it explains how to generate UML extensions but I need extensions for BPMN elements, am I rigth?

15
Automation Interface, Add-Ins and Tools / Creating New Property Group
« on: August 23, 2013, 10:35:33 pm »
Hello, I'm not much familiar with EA terminology so the topic name may be misleading, sorry for that.
I'm using EA 10 build 1008 and drawing BPMN2.0 diagrams. Double clicking an element opens a popup and there is a BPMN2.0 section over the left (between Advanced and Tagged Values).
What I want to do is adding another node to here, let's say X. I may have different groups of properties under X. It depends on the type of activity.

Is this possible via add-in or something?

Pages: [1] 2