YD

Hello Community,

although I have used Aris for a while, I am still a bit confused about the difference between Object and Object Occurence. As for my understanding, object is just an object. If the object occurs once in an model, then the object has occurence, which is the object in the model. Do I understand the difference in the right way?

I have also seen a function ObjDef() to acquire object definition from object occurence. Is there any function that works in the opposite direction, which means acquire ObjOcc from ObjDef? Function in both macro and report will be helpful.

Thanks in advance!

by M. Zschuckelt
Posted on Tue, 03/26/2019 - 22:00

Take a look into the ARIS Script help pages: /abs/help/en/script/ba/index.htm#report_OBJECTS_ObjDef.htm

ObjOcc[]

OccList ( )

Returns a list of all object occurrences.

ObjOcc[]

OccList ( Model[] inModels )

Returns a list of all object occurrences in the specified model.

Occ[]

OccListInModel ( Model Model )

Returns a list of all occurrences of the object in the specified model. 

OccList() gives you all occurrences of the object in all models.

OccList(Model[]) gives you all occurrences of the object in the array of models you pass to the method

OccListInModel(Model) gives you all occurrences of the object in a single model you pass to the method.

 

In Macros it is

Designer.getOccs ( ConnectableDef connectableDef )

Returns all occurences of a given connection or object definition. 

See also ARIS Script Help at /abs/help/en/script/ba/index.htm#macro_OBJECTS_Designer_getoccs.htm

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