Skip to main content

I have a multi-select picklist field, Product Interest, in the Campaign field.

I have the same field in the Lead object.  If values are missing in the Lead Object compared to the Campaign object, I have to add the values in the Lead Object.

 

To do it, I was expecting: 

  •  to put the picklist values of the campaign field in a text variable that allows multiple values (collection).  
  • Loop on the multiple values text variable (collection)
  • Look if each value of the collection is included or not in the Lead field
  • Add the value if it is not included

I was not successful to Loop of a single field (collection of values).  I only know how to loop on a collection of records.

 

Any idea how I can do this?

 

Thank you

12 answers
0/9000