Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: crestbeech on June 12, 2018, 02:23:50 pm
-
I am trying to build a data model report where for each entity I only want to show outgoing associations (its actually a hierarchical message model and navigation direction is important). However with EA reports both incoming and outgoing connectors are returned - there is no obvious means of excluding the incoming associations.
For instance, Organisation has many contact Persons, each Person has many Names. When Person element is reported then only association to Names should be reported, excluding the association back to Organisation and any other associations to entities that reference a Person.
I have looked into using custom queries, eg
SELECT <columns>
FROM t_connector
where #OBJECTID# = start_object_id.
However a query fragment template can only be added at Element or Package sections, can't insert template at connector or lower levels, so I can't see how I can use sql queries.
-
So many confusing options.
I found on the Document Options dialog there is an option for 'Connector Direction' which seems to do the trick.