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
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);
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
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.
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
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
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
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
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.
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
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