Question

jython script gave an error

  • 20 July 2022
  • 3 replies
  • 54 views

Dear Team,

 

when i preview the pipeline its says validation errors 

 

SCRIPTING_08 - Script error while running init script: javax.script.ScriptException: NameError: name 'record' is not defined in <script> at line number 28

Can someone assist me on these


3 replies

Hi Anirudh,

I would suggest to check for the indentation while using Jython. It is common to get that error.

 

Userlevel 1
Badge +1

@Anirudh

are you trying to access ‘record’ field in init script of jython evaluator?

Userlevel 3
Badge +1

@Anirudh 

The issue might occur if you are trying to access the field which are not present or misspelled .

Please check .

 

Reply