One way to score metrics is by using a script. Below is an example script for scoring a metric. It counts the outgoing serving and access relationships of application components.
forall "ApplicationComponent" app in modelpackage { value = 0; forall rel in app.relationsFrom() { if (rel is "UseRelation" || rel is "AccessRelation") { value = value + 1; } } result = Structure(); result.add("object", app); result.add("value", value); output result; }
For more information about scripting, please refer to the Bizzdesign Scripting Reference.
Introductory eLearning course
Check out the free Enterprise Studio introductory eLearning course to learn about metrics in Enterprise Studio.
Overview
Content Tools
Activity