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
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
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
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