MK

hello all,

                   

                  i have been doing  customs reports in aris for a while and i am facing trouble as to

how to show report for relationship among model objects.

 eg.

   if i have function say abc and that is done by  Mr. xyz ( Person type).

  hope , i have made my self clear.

 if any one has a solution to this problem please help me out.

thanks

mohan

by Eva Klein
Badge for 'Community Team' achievement
Posted on Thu, 09/30/2010 - 12:13

Hi Mohan,

if I understand you correctly, this could help you to show the relationship between model objects in a xls output :-)!

//get all functions in model
    var oFuncOccs = oSelModel.ObjOccListFilter(Constants.OT_FUNC);
    oFuncOccs = ArisData.sort(oFuncOccs, Constants.SORT_X, g_nLoc);
    for (var j = 0; j < oFuncOccs.length; j++) {
        oOutputFile.TableRow();
        oOutputFile.TableCell(oFuncOccs[j].ObjDef().Name(g_nLoc),.....);   //name of function      
        //connections        
        var aCxns = oFuncOccs[j].Cxns(Constants.EDGES_INOUT,Constants.EDGES_ALL)
        for(var z=0;z<aCxns.length;z++){
             var oSourceObjOcc = aCxns[z].SourceObjOcc();        
             
             oOutputFile.TableCell(aCxns[z].CxnDef().ActiveType(),......);    //name of the connection     
             oOutputFile.TableCell(oSourceObjOcc.ObjDef().Name(g_nLoc), ......);       //name of soucre object for example person type  
             
        }
        oOutputFile.TableRow();    
    }

Regards,

Eva

0
by mohan kewlani Author
Posted on Fri, 10/01/2010 - 12:16

Thanks Ms. Eva Klein,

       i got the desired  result from the help you provided to me , i am gratefull to you for the help.

regards

mohan

0
by Felipe Cifuentes
Posted on Thu, 09/30/2010 - 14:58

Hello Eva, I got used to work on ARIS 7 toolset and all the VB scripting that I as far as I know it´s no longer released, is that java code your using? what tool of the ARIS are you using? is it that ARIS Business Architech?

Thank you

0
by Eva Klein
Badge for 'Community Team' achievement
Posted on Thu, 09/30/2010 - 15:07

Hi Felipe,

yes, I am using ARIS Business Architect and the source code above is written in javascript.

Regards,

Eva

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