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 - rainstar79

Pages: [1]
1
Hey Folks,
I've got the same problem under Build 804:

EA.Element requPartition = (EA.Element) el.Elements.AddNew("Requestor", "ActivityPartition");

throws an exception!!!!.....BUT my Add-In worked fine under Build 79x!!!

The exception is: Invalid Parent for ActivityPartition (Class)

Why shouldn't it be allowed to add a new ActivityPartition under a Class?!?!?!

Has anyone a solution????

Thanks

2
Hi guys,
I wrote an Add-In for managing business process definitions in C# and I have the following problem:

If I have the Element ID of a certain EA.Element, is there a way to figure out all diagrams where the element is included.
I am looking for a method like the following:

element.getDiagramsIncludingthisElemnt();
or
repository.getdiagramsIncludingelement(elementID);

is there anything similar, which solves my problem would be great!!!!
...or is the only workaround to retrieve all diagrams rekursively in the model and look, if the element is in each diagram :-(
Thanks for your help!!!
cheers

Pages: [1]