Profile picture for user jdamrau

I am building a custom report where I’m being asked to collect and report on two pieces of data:

ARIS Custom Report Image

  • Count of Occurrences: This comes from selecting an object in a model and viewing Properties > Occurrences. They want however many occurrences exist per object to be reported by a number (see table for example).

     

Question: I cannot find in the ARIS wizard where to do this.  If you do a Semantic Check Report, the statistics portion counts up instances, so I'm thinking this should be fairly easy, but don't know how to do it. I’m pretty certain it can be added to the report code using JavaScript, but not sure how to proceed with that. Is this possible? Do you, can you, provide me with instructions on how to do it or with the code snippet to put in my custom report?

  • Subordinate Assignments: This comes from Properties > Assignments. The same issue as just mentioned for Count of Occurrences applies here as well. Can you help me resolve this as well?

Here’s the snippet of the ARIS report I’m constructing if it helps you see what I’m trying to do:

ARIS Custom Report - Wizard Input

Thanks for any help given.

by Jim Thompson
Posted on Wed, 05/04/2011 - 23:57

There are couple of approaches for the occurrence counts

1) If you're comfortable with coding in JavaScript you could edit the code generated by the Report Writer.  The code is fairly easy to interpret.  Find the part of the code that is writing the nformation to the cells.  Once you locate that section, add method call to determine the occurrence count.  The method call is <ObjDef>.OccList().length.  This will return the number of occurrence objects for the Definition Object <ObjDef>.

One thing to note...if you manually edit the code created by the Report Writer, it will not be able to be modified by the Report Writer.  You are then committed to maintaining the JavaScript code itself.

We've used this approach and it works but again you need to be comfortable with JavaScript coding.

2) If you do not want to work with JavaScript, use the Report Writer to produce an Excel workbook that lists the occurences of an object.  Then use Excel's Pivot Table function to create the counts.  It looks like you already have the majority of the Report Write definition for the report.  Don't worry about the counts, just list the occurrences. 

There are two drawbacks to this approach.  One is the extra step of creating the pivot table.  The other one is if the number of rows created by the report exceeds 64K, then it will break Excel.  AFAIK, the current release of ARIS 7.x does not support Excel 2007 worksheets that can contain up to 1million rows.

Jim

0
by Jackie Damrau Author
Posted on Thu, 05/05/2011 - 19:23

Thanks, Jim, for your response. I'm not comfortable with JavaScript so I'm looking for an alternate. Your item 2 sounds intriguing, but with the drawbacks you mention, I don't believe it's an ideal solution.

We may need to hire someone to finish this report for us unless someone has the JavaScript code that they can share with me. I can drop it into the code, just not knowledgeable in JavaScript coding.

0
by Freddy Barkhuizen
Posted on Wed, 06/01/2011 - 16:43

Hi Jackie,

Did you get this working yet?

I've put together a script for you, it's a javascript only report, let me know, then I can e-mail it to you.

Regards,

Freddy

 

0
by John Whyne
Posted on Tue, 06/28/2011 - 00:59

Hi Freddy/Everyone,

I'm new to ARIS but have been struggling for days with creating a simple report to list Functions, Function descriptions, start event and end event in my BPMN/EPC Models using WYSIWYG. Many thanks for any assistance given.

Cheers

John W

0
by Jackie Damrau Author
Posted on Fri, 07/15/2011 - 19:04

Freddy, I finally had time to work with the script that you sent me. It works perfectly.

Thanks so  much for your efforts.

 

0
by Jaime Pedros
Posted on Mon, 10/24/2011 - 15:40

I've read the post and it would be perfect if I can re-use the script you built. Is it possible?

Thanks a lot

Kind regards

0
by Freddy Barkhuizen
Posted on Mon, 10/24/2011 - 16:44

Hi Jaime, 

Sure, I still have the script. Send me your e-mail and I'll send it to you.

Regards,

Freddy

0
by C Saurien
Posted on Tue, 01/10/2012 - 12:07

Hi,

Could you please send me the script ?

My email : coucou81@laposte.net

Thank you,

Best regards,

0
by Jaime Pedros
Posted on Tue, 01/10/2012 - 13:01

Hi Cyrille

 

I've just sent it to you.

Kind regards

Jaime

0
by Neo Sanyane
Posted on Wed, 01/11/2012 - 06:58

HI Freddy,

 

Can you please send it to me aswel sanyane1@gmail.com

 

many thanks

0
by Jaime Pedros
Posted on Wed, 01/11/2012 - 09:11

Hi Neo

 

I've just sent it to you.

Kind regards

 

Jaime

0
by Vera Abreu
Posted on Wed, 04/18/2012 - 16:39

HI Freddy,

Can you please send me the script to vgabreu@hotmail.com

Thanks.

 

0
by Jaime Pedros
Posted on Fri, 04/20/2012 - 13:11

Hi Vera,

 

I've just sent it to you.

Kind regards

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