Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Zechmeister on December 16, 2014, 10:45:53 pm

Title: Adding conveyedItems
Post by: Zechmeister on December 16, 2014, 10:45:53 pm
Hi! I am porting a big project into EA through C# API.
Trying to add a conveyed item to an information flow (as written in help reference) returns null. My code:

object convItem = informationFlow.ConveyedItems.AddNew(anEaClass.ElementGUID, null);

Neither works it with the Java API. How should the correct call look like?

Help please
Laszlo
Title: Re: Adding conveyedItems
Post by: qwerty on December 16, 2014, 11:26:55 pm
It appears that (EAUI) here you don't get a result object for a update but the AddNew adds the conveyed item directly. :P Just omit the Update.

q.