Script error - onBefore script of Robust Transform Map

Priyanka Ghosh
Giga Guru

Hello,

 

I'm getting an error on the execution of the onBefore script of Transform map. What could be the probable reason and solution for this?

PFB the image of the code and the error:

 

PriyankaGhosh_0-1683230063163.png

PriyankaGhosh_1-1683230131194.png