AP

Hello,

I want to count the number of models present in a group,or an entire database.

Is there a report for this purpose?

I do not know Aris Scripting Language,hence if anybody could provide me the code for it,it would just be great!

Please,also let me know if not reports,is there any other technique for counting the number of models present.

Thanks in advance!

Anaya

by Sam Nguyen
Posted on Tue, 05/28/2013 - 13:19

tried "Find"?

0
by Vincent Renard
Posted on Tue, 05/28/2013 - 16:07

Hello Anaya,

For entire database, it's easy :

1 - go to administration module

2 - right clic on your database / statistics

3 - right clic on window / unselect all

4 - thick model and launch with OK button

 

0
by Thierry Caro
Posted on Fri, 05/31/2013 - 11:57

Hello

In the scripting language, this can be done like this (for the whole database):

var grp = ArisData.getActiveDatabase().RootGroup();

var models = grp.ModelList(true);

Dialogs.MsgBox("Number of models: " + models.length);

Best regards,

 

 

0
by Galvin Widjaja
Posted on Mon, 06/10/2013 - 07:49

Extending Thierry's method, you can use the code below to do the same for group any number of groups.

 

var grp = ArisData.getSelectedGroups()
Mlengths = 0
for(var i=0;i<grp.length;i++)
{
Mlengths = Mlengths + grp[i].ModelList(false).length
}

Dialogs.MsgBox("Number of models: " + Mlengths);
0
by Vince Tan
Posted on Tue, 12/09/2014 - 18:32

In reply to by gwidjaja

Hi Galvin! Is there any chance that you have a report that gives you the number of models including sub groups using recursion.

Thanks!

0
by Shikha manchanda
Posted on Thu, 06/20/2013 - 13:58

Hi all,

I need help as it is urgent regarding the RCM sementic check for value chain map.

I did not added function number in the value chain map. and when i run the RCM sementic check, it didnt show me any error.

I do not know Aris Scripting Language,hence if anybody could provide me the code for it,it would just be great!

Please, also let me know if not reports,is there any other technique for counting the number of models present.

Thanks in advance!

Shikha Manchanda

 

0
by Galvin Widjaja
Posted on Fri, 06/21/2013 - 04:18

Hi Ms. Shikha,

This is a different issue and actually should be in a new topic. Either way the solution is not scripting at all, but to add the VACD Attributes rule to your semantic check.

If you provide a few more details on what you have done and what you are looking for, then we can help you.

0
by Shikha manchanda
Posted on Fri, 06/21/2013 - 15:39

Hi Galvin,

 

Thanks for your reply!!

Please find the above attachment; This is a value chain map in which I have not put the Function number in the chevron (green box) highlighted in red. And it is mandate to put the function number before submitting the map for Ent. Lib. and If we run semantic check report, it does not capture the error in it.

Kindly let me know how I rectify this problem so that if I don’t put function number in the green box, semantic check report should catch it.

Really appreciate your help!!

Regards,

Shikha manchanda

 

0
by Galvin Widjaja
Posted on Sun, 06/23/2013 - 07:51

Hi,

 Let me state a few things first.

1) your semantic check is customized

2) the Function's "type" has been renamed

3) The function number is also a custom attribue. (Also I suspect the stock attribute "identifier" could have done the same job

To resolve this:

1) Go to Administration Console --> Evaluation --> Semantic Checks --> Rule Types --> Object Attribute Rules (as in the screen shot)

2) Create a new rule aligned with your requirements. It's pretty self explanitory once you are here, but since there seems to be a lot of customizations in your system I can't give you exact screenshots

3) Go to the "Profile" button below and find the name of the semantic check you use. 

4) Click on it, right click properties and add the new rule you have just created.

5) Log out, log in. It should work

 

0
by Shikha manchanda
Posted on Wed, 07/31/2013 - 17:58

Hi Galvin,

Thanks for your reply!! I have follows your above suggestions.

Please find the above attachment.

I have created a new rule "Function number for value chains" under Object attribute rule and then added in the "BAC Semantic check - Pre req for release" profile. Its working fine but it got applicable for all types of models like Swimlane, FAD etc, but I want to restrict it to Value chain models only. Please suggest how to go about that.

Thanks & Regards,

shikha manchanda

 

0
by Shikha manchanda
Posted on Wed, 07/31/2013 - 18:01

Hi Galvin,

Thanks for your reply!! I have follows your above suggestions.

Please find the above attachment.

I have created a new rule "Function number for value chains" under Object attribute rule and then added in the "BAC Semantic check - Pre req for release" profile. Its working fine but it got applicable for all types of models like Swimlane, FAD etc, but I want to restrict it to Value chain models only. Please suggest how to go about that.

Thanks & Regards,

shikha manchanda

0
by Galvin Widjaja
Posted on Wed, 07/31/2013 - 19:32

Hi Shikha,

Unfortunately, that is nearly impossible since you cannot restrict which models a semantic check is run on. A common solution is to have to semantic check profiles. One for your VACD models and one for other models - the difference of course being whether this rule is part of the rule set.

The other method is to program the exception into the rule set. This is definitely not recommended as it may affect your ability to continue using the above interface to modify semantic checks in the future.

0
by Shikha manchanda
Posted on Wed, 09/25/2013 - 14:47

Thank you Galvin for your respond.

0
by Shikha manchanda
Posted on Wed, 09/25/2013 - 14:56

Hi Galvin,

I have a new query,

Situation:- If I submit a map for review to Enterprise librarian queue and I am not the Modeler on the map, I am just submitting a map for review. Then I if map gets rejected by Enterprise librarian or by process owner, then y do i receive an email notification, the modeler on the map should receive the notification that his/her map is rejected or approved by librarain or by process onwer.

How can i do the changes - by scripting or by changes any attributes.

please help!!

Regards,

Shikha Manchanda

0
by Ferdinand Wallner
Posted on Wed, 04/09/2014 - 14:18

Hi all,

I'm absolutely new in ARIS-Scripting

and I know that this topic is already older, but I have one small question:

I want to count all models in all databases, following I need one Excel-Sheet looks like:

DB_Name     Number of counter

....                    ....

Can anybody help me?

best regards

Ferdi

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