Modify picklist options with deluge script

Modify picklist options with deluge script

Hi im trying to modify a pick list option from a deluge script

I want the pick list to have only one initial value.

and after running the script add some others, this script should run for every record this means every record could have different elements. Is this possible?

Some pseudo code to explain my intentions:

pick_list_options = List();

pick_list_options.add("foo");

pick_list_options.add("faa");

pick_list_options.add("bar");

zoho.crm.updateRecord("ModuleName",recordID,{"pickListField":pick_list_options});