MR

I am seeing a difference in relationship data returned from using a script to when using the ARIS GUI on a particular function object occurrence in ARIS Architect v9.6.

When scripting I obtain all function occurrences in my model, then for every occurrence I get the connection associated with the function. Then for each connection I print the ActiveType and Name.

My script seems to be showing reference names to the same function (object) name, where the ARIS gui (selecting Properties^Relationships) seems to show what I intend.

Assuming the ARIS GUI function above is correct, my conclusion is that either my scripting is defective, or the programming API is broken in ARIS?

Can someone verify my finding with any model that contains function relationships (I have included my test case)?

I am including the script I am using, the function tree model .xml, my script output (Report20.htm), a screen shot of the function tree, and a screenshot of the level 1 and level 2 selections using ARIS menu Properties^Relationships that do NOT match the Report20.htm.

Thanks,

MR

by Michael Renner Author
Posted on Tue, 02/17/2015 - 15:42

I am surprised nobody has seen any issue with the following methods to get relationships for connections.
// loop through connections
var aCxns = oFuncOccs[j].Cxns(Constants.EDGES_INOUT,Constants.EDGES_ALL) //Returns the specified connections of the object occurrences.
for(var z=0;z

0
by Frank Weyand
Posted on Wed, 02/18/2015 - 09:16

Hi,

the UI shows all connection definitions. Which includes also connection occurrences, which are displayed in other models, or even not displayed at all. In addition, also "implicit connections" are displayed.

Implicit connections are not connection definitions existing in the database, but implicitly via the model structure. Example: you have an EPC with the functions "upper". At the function "upper", you assign another EPC containing function named "lower". Thus, because the  function "lower" is placed in an assigned EPC, the function "upper" is  "process-oriented superior" to the function "lower". This is defined in the ARIS methodology.

Selecting such a connection in the UI and pressing "F1" gives you an overview about what is displayed. Pressing the "symbol" link in the explanation of the relationship type gives you more information about that.

Bye,

Frank

0
by Michael Renner Author
Posted on Tue, 03/03/2015 - 14:56

Thank you.

I have solved this by using ObjOcc.ObjDef().CxnList() as recommended by Francois Du Toit.

This gets all relationship connections across model boundaries.

MR

0

Featured achievement

Rookie
Say hello to the ARIS Community! Personalize your community experience by following forums or tags, liking a post or uploading a profile picture.
Recent Unlocks

Leaderboard

|
icon-arrow-down icon-arrow-cerulean-left icon-arrow-cerulean-right icon-arrow-down icon-arrow-left icon-arrow-right icon-arrow icon-back icon-close icon-comments icon-correct-answer icon-tick icon-download icon-facebook icon-flag icon-google-plus icon-hamburger icon-in icon-info icon-instagram icon-login-true icon-login icon-mail-notification icon-mail icon-mortarboard icon-newsletter icon-notification icon-pinterest icon-plus icon-rss icon-search icon-share icon-shield icon-snapchat icon-star icon-tutorials icon-twitter icon-universities icon-videos icon-views icon-whatsapp icon-xing icon-youtube icon-jobs icon-heart icon-heart2 aris-express bpm-glossary help-intro help-design Process_Mining_Icon help-publishing help-administration help-dashboarding help-archive help-risk icon-knowledge icon-question icon-events icon-message icon-more icon-pencil forum-icon icon-lock