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 respostas
Hey, check this out: Loop through multi-select picklist values in screen flow without using apex (salesforce.com)
It's a complicated process but this seems the way to do it without having to use an invocable method. Really should have an option to parse multiselect in the loop it seems like.
Let me know if this helps.