Log file in Alfresco Activiti

cancel
Showing results for 
Search instead for 
Did you mean: 
jeenut
Active Member

Log file in Alfresco Activiti

Hi all,

Can someone explain how and where can I get to see the output for a 'Console.log(".....")' statement written in a script task in Activiti workflow?  

Regards and thanks in advance.

1 Reply
gdharley
Intermediate

Re: Log file in Alfresco Activiti

I think you are confused.

It sounds like you are using javascript as your scripting language and getting an error somethign like:

javax.script.ScriptException: ReferenceError: "console" is not defined in <eval> at line number 22

This is because "console" (like document) is a browser concept and o ly works when running javascript in a browser.

To log output from a Javascript script task in Activiti you should use the "print" or "println" statement:

e.g. println("Hello World");

Cheers,

Greg