Profile picture for user twgathings

Months ago, I read something on this site where someone wished for more flexibility than offered by the 'Reorganize' function. This function removes objects that do not occur in any model, but it works only on the entire database. Therefore, if you have object libraries (eg, all persons or all servers), you cannot use this function.

A colleague of mind mentioned this dilemna again the other day. So, it was a good opportunity for me to learn a little more about ARIS scripting, which is something I've been meaning to get around to. As it turns out, one can iterate objects in a group and for each object, get a list of:

  1. that object's connections
  2. that object's occurrences

With that, the report can identity objects with no occurrences. I also added the option to ignore objects that have a connection. Rather than delete the objects directly, which is probably what one wants to do, I had better luck giving an option to move them to a designated folder. From that folder, the objects can be reviewed and deleted, if necessary.

I have uploaded the script file for you to try, but it comes with no guarantees.

by Sebastian Stein
Posted on Tue, 03/01/2011 - 07:43

Thank you very much for this great contribution! We moved your post to the Reports & Macros group so that it can be found more easily.

0
by Jitesh Bajaj
Posted on Fri, 11/01/2013 - 17:00

In reply to by sstein

Good day Sebastian,

Can you help in getting the Script which is available on this post. I am not able to download the file as it says  Page Not Available.

0
by Deleted User
Posted on Tue, 03/01/2011 - 15:44

It seems pretty usefull and faster than a full reorganize!

Thanks for sharing!

0
by Konstantin Seleznev
Posted on Thu, 03/03/2011 - 09:37

You can try to delete all of objects in script. Objects with occurences are blocked to delete.

0
by Thomas Gathings Author
Posted on Thu, 03/03/2011 - 15:23

Yes, I observed that behavior but I didn't clue in that it is by-design. Now it makes perfect sense (to protect ourselves from accidental deletion). Thanks for the comment!

0
by Videlina Philipova-Mileva
Posted on Mon, 02/17/2014 - 15:20

Can you help in getting the Script which is available on this post. I am not able to download the file as it says  Page Not Available.

0
by Pavan Veerapaneni
Posted on Fri, 02/28/2014 - 04:09

Can you please help in getting the Script which is available on this post. I am not able to download the file as it says Page Not Available

0
by Vince Tan
Posted on Tue, 12/16/2014 - 09:29

Hi can someone help me get the Script from this post? I cant seem to download the script. Thanks!

0
by Daverro Smith
Posted on Wed, 05/06/2015 - 20:06

Hello,

How  can I access Script from this post?

0
by Apuroopa GSL
Posted on Tue, 01/28/2020 - 12:58

Unable to access the script from this post. Could some one please help

 

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