CMDBuild Forum

debugging workflow scripts

I'm currently working on some workflows with some scripts, but it seems to fail somewhere. I would like to debug the script, but i have no idea if there are any methods available to insert debug strings.

 

In any other program i would simply print some debug statements, but obviously that's not going to work here. Any hints?

Dear Patrick,
you can print debug statements with System.out.println(....) in your scripts. The output will be printed on the standard output of Tomcat (usually catalina.out file)
 
Best regards
CMDBuild Team
 
Previously Patrick wrote:

I'm currently working on some workflows with some scripts, but it seems to fail somewhere. I would like to debug the script, but i have no idea if there are any methods available to insert debug strings.

 

In any other program i would simply print some debug statements, but obviously that's not going to work here. Any hints?