Add selected values from Multi-select lookup field into a list

PHOTO EMBED

Mon Apr 22 2024 10:14:20 GMT+0000 (Coordinated Universal Time)

Saved by @nishpod

newDm = Add_POD_Person[ID == input.New_CRM1];
	devlist = List();
	for each  rec in input.Developments1
	{
		devlist.add(rec);
	}
	for each rec2 in newDm.Dev_vis
    {
   devlist.add(rec2);
    }
    newDm.Dev_vis= devlist;
content_copyCOPY

dev_vis: multi-lookup field, input.Developments1: multi-lookup field - fetch values of list first (for each loop) - add to a list - fetch values of the multi-select lookup field (for each loop) - add to the same list