Profile picture for user adarn

Hi,

I have a problem that when I try to run scripts in ARIS Business Publisher and they have bugs I don't know where the bug is.

Can someone help?

Thanks,

 

Adar

by Martin Schröder
Badge for 'Contributor' achievement
Posted on Tue, 09/14/2010 - 19:13

Hello Adar,

means for script debugging are poor to non-existent in BusPublisher, I am afraid.

C:\Programme\ARIS7.1\BPServer\tomcat\webapps\businesspublisher\log\report*.log is written after execution of reports, except for the built-in "Start report" function above a model graphic.

Do you get any error messages while the report is running? If they refer to a function name in a script or a line number usually the technical name of the script file is noted as a GUID. The corresponding file name can be found in \businesspublisher\reports\

But to search the script for errors you can only use the BusArchitect's script editor.

Did you check whether your script uses methods that are not supported by BusPublisher? According to Installation_Administration_Guide.pdf if you search BusArchitect's script help for "available in Business Publisher Report" you get a list of supported methods.

Good luck, Martin

0
by Adar Noy Author
Posted on Wed, 09/15/2010 - 16:38

Hi Martin,

Thank you for your comment.

I am aware of all the restrictions you have mentioned but the bottom line is that it is difficult to check every single line in a script for BP compliance.

The errors are cryptic at best (usually mentioning some java method) and never a line number usually it just states error.

The problem is that this feature is very desirable by the customers but now I have to tell them that I can not support it.

 

BR

 

Adar

0
by Martin Schröder
Badge for 'Contributor' achievement
Posted on Mon, 09/20/2010 - 12:26

Hello Adar,

if you have a look at the reports in ABA delivered by IDS there is a routine to check on which runtime environment (Context) a script is executed:

var g_env = Context.getEnvironment(); // Determines the script runtime environment {BP,STD}, i.e BusPublisher or BusServer
...
if( StrComp(g_env, "BP") == 0 ){ // script run on BusPublisher
  // your statements
  ...
}



Maybe you can use this constant to mark some breakpoints in your custom script in order to locate the error.

Regards, Martin

 

0

Featured achievement

Explorer
Take a tour! Learn more about the different ARIS Community areas and ARIS editions.
Recent Unlocks
  • JA
  • DS
  • JG
  • RB
  • JD
  • PacMan

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