How to print a value using javascript in scripttask

How to print a http task response variable using javascript in script task. Console.log and alert are throwing errors. Pls help

Hi Esther.

I do not know - I usually use groovy scripts.
May be you can use a debugger to run your script in the context of the execution.



In a javascript script you can print by referencing the default java classes, for example java.lang.System.out.println(“hello”);

1 Like