I've designed a screen flow where the end user can select multiple values from a picklist. Consequently, I have created a Picklist choice set to capture this data and utilize the selected values to retrieve all corresponding records.
For instance, one of the fields is "Country" with a picklist datatype. Let's say the user opts for two countries, such as USA and Canada. I am getting these two values in a picklist choice set resource. Then, I'm employing this choice set within the "Get Records" element, utilizing the "contains" condition against the actual field.
During debugging, when a single country is selected, all records are successfully retrieved. However, if two countries are selected, the flow fails to locate records.
What could be the oversight here? Would employing a collection variable and iterating through them be necessary? There are a total of 10 fields similar to this one that need to be integrated into the flow. Any insights would be greatly appreciated.