Adding value to list

Hi Team

I have tried to add element to list variable by using custom script, but I am facing following error.
Can you please help me on this.

Scripts as follows
script
recorderValue

Thanks
Hemanth

Hi @ashapkina , @azinchuk

Can you please help me on this.

Thanks
Hemanth