I am trying to assign a value to and output field based on an input field inside the modified Javascript step. I have coded as:
if ( !(person_id.isNull()) )
person_nm = substr(another_field,1,10)
else
person_nm = "";
When I run this I get the error:-
Modified Java Script Value.0 - Javascript error: Modified Java Script Value.0 - TypeError: Cannot find function isNull in object 7853. (script#90)
- So where am I going wrong?
- In the else part I am actually supposed to assign a NULL to
person_nm
but I can't find a way to do so. Whats the way this can be achieved?
Thanks, Kanishk