Skip to main content
Question

Sample java script origin pipeline

  • August 1, 2022
  • 1 reply
  • 35 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

Pradeep
StreamSets Employee
Forum|alt.badge.img+1
  • StreamSets Employee
  • 48 replies
  • August 2, 2022

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