Question

Sample java script origin pipeline

  • 1 August 2022
  • 1 reply
  • 25 views

 

While i try to run any java script code (hello world) in java script scripting origin , i am facing below error. 

Also if any one had done sample java script pipeline please share  

please could any one help me with this.

 


1 reply

Userlevel 2
Badge +1

Hi @Priya,

Not sure if console (or) window objects are by default available in JS origin. JavaScripting Scripting here is likely called from java code.

If you are looking to print debug messages, you would want to use sdc.log object and refer to the message in respective SDC log file.

From Doc,

 

Eg:

SDC JavaScript Scripting origin

 

sdc.log file

 

Reply