AR

I am runnig one report on one VAC's L3 object.

how can I extract parent model name of this VAC object? 

I tried with extraction subordinate relationship of this L3 object but the problem is I have more than one sub ordinare relationship with this object and I want to extract only the current model name in which  this object is present.

 

var all_L2=current_L3_object.getConnectedObjs([Constants.OT_FUNC],Constants.EDGES_IN,[Constants.CT_IS_PRCS_ORNT_SUPER]);

 

here I am getting 6 value in all_L2 variable. I need only one.

please help if anyone know about this it's little bit urgent.

Thanks in advance :)

Let me know if you need more information related to this query.

 

Regards,

Ankit

 

 

by M. Zschuckelt
Posted on Thu, 11/27/2014 - 23:34

Hello Ankit,

I understand you have an object definition at hand.  If you want to know anything about the situation in a model you have to look at the occurrences of the object in the particular model.

The API offers the method OccListInModel(Model model).

So say you have the current VAC model myVAC, then write something like

var current_L3_object_Occs = current_L3_object.OccListInModel(myVAC);

This gives you a list of the Occurrences of current_L3_object in your VAC. From there you can work your way through the occurrences of connections to other occurrences of other objects, much like you would on the definition level.

M. Zschuckelt

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