Custom Report Scripting Help Needed

Translate this pagebookmark or share this page
Jackie's picture

Posted: 2011-05-03
2583 views | 13 comments | category: ARIS Support

0
show all articles
Problem with starting ARIS Busines Server - Launch of ARIS Lockservice failed!

Posted: 2013-06-19
68 views | 1 comments

0
Group: We Love BPM
show all articles
Document Link value separation

Posted: 2013-06-19
75 views | 0 comments

0
Group: We Love BPM
show all articles
ARIS :Adding new Coloumn in output report using java script

Posted: 2013-06-19
94 views | 0 comments

0
Group: Reports & Macros in ARIS
show all articles
Who logged-in & When

Posted: 2013-06-18
163 views | 3 comments

0
Group: ARIS Support
show all articles
It´s possible modify a Aris standard report?

Posted: 2013-06-14
224 views | 6 comments

0
Group: Reports & Macros in ARIS
show all articles
ARIS 7.2 and JAVA 7 compatibility

Posted: 2013-06-13
255 views | 1 comments

0
Group: We Love BPM
show all articles
ARIS Business Architect for SAP - Scheduled report is not ruining

Posted: 2013-06-06
293 views | 0 comments

0
Group: ARIS Support
show all articles
Error in Java (WebStart) Console Log

Posted: 2013-06-05
263 views | 2 comments

0
Group: We Love BPM
show all articles
Configuring the symbols allowed by different model types?

Posted: 2013-06-05
244 views | 1 comments

0
Group: ARIS Support
show all articles
Not able to start ARIS: the requested resource (/aris72/app/) is not available

Posted: 2013-06-05
260 views | 2 comments

0
Group: ARIS Support
show all articles
Comments
Jim's picture

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

Jackie's picture

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.

Freddy's picture

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

 

John's picture

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

Jackie's picture

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

Thanks so  much for your efforts.

 

Jaime's picture

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

Freddy's picture

Hi Jaime, 

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

Regards,

Freddy

C's picture

Hi,

Could you please send me the script ?

My email : coucou81@laposte.net

Thank you,

Best regards,

Jaime's picture

Hi Cyrille

 

I've just sent it to you.

Kind regards

Jaime

Neo's picture

HI Freddy,

 

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

 

many thanks

Jaime's picture

Hi Neo

 

I've just sent it to you.

Kind regards

 

Jaime

Vera's picture

HI Freddy,

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

Thanks.

 

Jaime's picture

Hi Vera,

 

I've just sent it to you.

Kind regards