Profile picture for user ismail29033

Hi guys, I'm trying to build a model with a report script and I need to map certain objects to an object that it "can be used by" which is a relationship, that was specified when the user modelled the models I'm getting them from.



however I'm not getting objects with that connection type when I call the method using objectOccurence.CxnOccList();



any help here please?

by Torsten Haase
Posted on Mon, 03/25/2013 - 09:58

Hi,

did you try using the definition level instead of occurrence? If the connections are modelled in other models than the one which contains your occurrence, you'll get all connections of the object, modelled in any model, by calling objectOccurence.ObjDef().CxnList().

BR,

Torsten

0
by Liju Ram
Posted on Wed, 10/11/2017 - 12:37

If i have all the Objects that are related to the Primary object, is it possible to check the type of the relationship object. I have all the object relationships in an array. Now i need to fetch only the object relationships of 'KPI instance' type. I tried with following code ,but it doesn't work.

if(nTarget.Attribute(Constants.AT_TYPE, nLocale)=="KPI instance")

Even this also doesn't work,

if(nTarget.Type()=="Function")

 

Can someone help me in this.

0

Featured achievement

Genius
You like to help others solve their problems by answering questions.
Recent Unlocks
  • KF
  • KH
  • RG
  • Profile picture for user Vee_ARIS
  • Profile picture for user smarty
  • PacMan

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