Salesforce Fact #359 | Get first value from multi select picklist in flow
Suppose we have a use case where we would like to get the first value of the multi-select picklist and use it further in flow. Now, LEFT(), FIND() etc. functions cannot be applied on multi-select picklist values. So, as a workaround, in flow we can define a text variable with the default value set as the value of the multi-select picklist. And after that, we can parse the data to get the first value.
In this example, we have a multi-select picklist field on Account and we are populating the description field value with the first value selected in the multi-select picklist.
Attached are the screenshots.
Comments
Post a Comment