Profile picture for user angiepitt

Hi!  I'd like to modify the Model Status Overview report to include a few additional attributes and to limit the results to EPC models only.  I'm not a programmer but I can figure out how to show additional attributes.  However, I don't know what code to add to limit this to EPCs only.  Could anyone point me in the right direction?  It is a pretty basic script and is found in the Automation reports folder.  Thanks!

Angie 

by Vinay Agarkhed
Posted on Fri, 12/09/2011 - 07:37

Hi Ms. Angie Pitt,

Code snippet to limit the result to EPC models only-

if (oSelectedGroups.length > 0) {
    var dlgResult = Dialogs.MsgBox(getString("TEXT_1"), Constants.MSGBOX_ICON_QUESTION | Constants.MSGBOX_BTN_YESNO, getString("TEXT_8"));
    var bRecursive = (dlgResult == Constants.MSGBOX_RESULT_YES);
        
    for (var i = 0; i < oSelectedGroups.length; i++) {
        oSelectedModels = oSelectedModels.concat(oSelectedGroups[i].ModelList(bRecursive,Constants.MT_EEPC));
    }
} else {
    oSelectedModels = ArisData.getSelectedModels(Constants.MT_EEPC);
}

You have to change/replace only the line number 6 & 9 from above code in to your Model Status Overview report.

(Constant for EPC model type = Constants.MT_EEPC)

 

Regards,

Vinay Agarkhed

0
by Harry Ratia
Posted on Tue, 12/13/2011 - 13:20

Hi,

 

Another option, not requiring programming of the script, is to create a evaluation filter blocking all other model types but EPCs. Then run the script using the filter:

 

Combining filters, exisitng or new ones, with standard report scripts sometimes shows to be very useful. I hope this helps.

Regards   / Harry Ratia

 

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